-l option
It supplies the signon information needed to authenticate
users in one or more security namespaces. The -l
option
provides an alternative to storing the information in the Signons
list.
The basic syntax for using the -l
option
is as follows:
cogtr -lsignon=userid/
password -pfilename.py?|-m
filename.mdl
The following example opens the Field3.mdl file and
grants access to the required namespace using the signon named field
,
user ID CarlosR
, and password pw462
.
Assuming that the signon matches what is defined in the model, the
process runs in batch mode, creating the cubes as defined in the model.
cogtr -lfield=CarlosR/pw462 -mField3.mdl
IBM Cognos Analytics software can be configured to use authentication to an external namespace where users are prompted for credentials as part of the logon process.
You can create signons to build cubes in batch mode in the IBM Cognos environment. Those signons maintain the user ID, password, and the associated namespace name. You can create as many signons as the number of namespaces that your users need to log on to in IBM Cognos Analytics environment. For Transformer to use the signon automatically, enable the Set As Auto Logon property.
If multiple signons with the Set
As Auto Logon property checked exist in a saved model,
when using the command line you do not need to specify the –l
option
because Transformer will authenticate against all existing signons
by default.
When you use this command, the user ID and password appear in plain text. For information about how to avoid plain text passwords, see the topic Avoiding Plain Text Passwords When Using the -k or -l Option.