NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.USER.PWSTATE
System Variables
106126 Tandem Computers Incorporated 5–105
&SYS.USER.MODE The &SYS.USER.MODE system variable indicates whether the current user ID has
been used. If the initial installation user ID is being used, the value of this variable is
INSTALL. If this is the first time a user has signed on, the value of the variable is set to
NEW. Otherwise, the value is null.
&SYS.USER.MODE
Example
The following example shows how you might use this system variable:
IF &SYS.USER.MODE = NEW THEN
SAY "Welcome to NNM"
&SYS.USER.PWSTATE The &SYS.USER.PWSTATE system variable indicates whether the user's password has
expired. This variable is set to EXPIRED when a user's password has expired. At all
other times this variable is set to null.
&SYS.USER.PWSTATE
Example
The following example shows how you might use this system variable:
IF &SYS.USER.PWSTATE = EXPIRED THEN
SAY "Change Password now!"