$ZUserID
$ZUserID
The application user’s Zim user identifier.
Syntax
$zuserid
Return Value
The user identifier of the user specified in the last successful LOGIN command. Cannot be reset by an application program.
Description
Upon successful execution of a LOGIN command, $ZUserID is set to the specified user’s ID.
Although you can change the value of this variable, you cannot change the effect of the LOGIN command. The software continues to treat the current user according to the GroupID and UserID associated with the UserName given in the last LOGIN command.
When you call up any Zim system (full, Runtime, etc.), the software automatically attempts to log you in as a user called ZIM.
See Also