createpassword
CHARACTERS
,
NUMBERS
,
OPTION
,
PASSWORD

The createpassword statement creates a random password using characters or numbers (or a mixture) set to the chosen length.


Parameters

This statement has four parameters:

characters – Number of alphabetical characters to use in the new password .

numbers – Number of numeric characters to use in the password.

option – Sets the option for the alpha characters. Using “U” or “u” sets it to all upper case while “L” or “l” uses lower case. Using an empty string “” uses random case for each character.

password – The result is placed in this field or variable.


Description

This statement creates a random password using characters or numbers (or a mixture) set to the chosen length.

This example will assign a 10 digit password to the field or variable called MyPassword containg a randomly mixed string of 7 upper case letters and 3 numbers.

local MyPassword
createpassword 7,3,"U",MyPassword
message MyPassword

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.