Macro Language Reference > Macros > System > password
  
password
Description
If you have created passwords for text tags and scripts in your document, PTC ALD will keep a list of them in the Session password dialog box. The password macro allows you to add or delete passwords from the list.
 
Example 237. Add and remove passwords to a session list
The first example below adds two passwords to the session list, 'Chris' and 'Jim':
password "Chris", "Jim"
The second example removes 'Chris' from the list:
password -"Chris"
Syntax
password -:s? password:s
password
[no parameter]
Invoke the Session Passwords dialog box.
-
Delete a session password from the list (if used as a prefix to password.
password
The password to be added / deleted