PickListAdd

Item Description

Use with:

Startup scripts, Terminal Launcher, Web, and Windows

SecureLogin version:

All

Type:

Action

Usage:

PickListAdd display-text [return-value]

Arguments:

display-text

[return-value]]

The text that will be displayed in the pick list for the specified option.

The value returned from the pick list. If you don't specify this parameter, the return value will be the display text.

Description:

Allows users who have multiple accounts for a particular system to choose the account that they will log in to. Also, you can use this command to choose from multiple sessions on one mainframe account.

Example:

Dialog  
 Title "Login"
 Ctrl #1
EndDialog
PickListAdd "Account One" One
PickListAdd "Account Two" Two
PickListAdd "Account Three" Three
PickListDisplay ?Account "Please select the account you want to use" -noedit
SetPlat ?Account
Type $Username #1
Type $Password #2
Click #1