| Item | Description |
|---|---|
Startup scripts, Terminal Launcher, Web, Windows |
|
All |
|
Action |
|
DisplayVariables [User Prompt] [Variables] |
|
[User Prompt] |
Optional, customized text to be displayed in the Enter SecureLogin Variables dialog box. The name of the variables you want the user to be prompted for. If you don't specify the name of the variables, SecureLogin prompts for all variables that the script uses. |
Displays a dialog box that lists the user's stored variables (for example, $Username and $Password) for the current application. The user can edit the variables from this dialog box. For example, if the login is unsuccessful because of an incorrect username or password, the DisplayVariables command prompts the user to edit the stored username or password values. From that point, the login process proceeds as usual. To replace the default prompt text in the Enter SecureLogin Variables dialog box, enter the replacement text in quotation marks after the DisplayVariables command. Limit the text to 90 characters. If no variables are stored for the user the first time SecureLogin attempts to apply single sign-on to the application, the prompt will not be customized. After variables are stored for the user, the prompt is customized when the script is run. You can also customize the text in the prompt by using the SetPrompt command. See SetPrompt. HINT: Sometimes you will need to enter "dummy" variables in the script, depending on the placement of the DisplayVariables command. For the command to operate optimally, some $Variables must be listed after the command. The OnException EnterVariablesCancelled command can be used to prevent a user from cancelling the DisplayVariables prompt. |
|
DisplayVariables |
|
Example: |
# Wrong Password Dialog Box DisplayVariables "Enter a new username and password" $Username $Password |