DisplayVariables

Item Description

Use with:

Startup scripts, Terminal Launcher, Web, and Windows

SecureLogin version:

All

Type:

Action

Usage:

DisplayVariables [prompt-text]

Arguments:

Prompt-text

Optional, customized text to be displayed in the Enter SecureLogin Variables dialog box.

Description:

Displays a dialog box that lists the user's variables 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.

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 .

Syntax examples:

DisplayVariables
DisplayVariables "Please enter your details"
DisplayVariables "Please enter a new password"
$Password
DisplayVariables "Please enter your username and password" $Username $Password
DisplayVariables "" $Username $Password

Example:

Dialog  
 Title "Wrong Password" 
 Ctrl #1
EndDialog
DisplayVariables "Enter a new username and password"
Type $Username #1
Type $Password #2
Click #1