NMB_OF_SESSIONS
Description
Returns the number of time a particular user is logged in the system, 0 is returned if the user is not logged in
Syntax
NMB_OF_SESSIONS (user)
Cannot be used in the condition of a FIND action.
Parameters
An instance of an object that belongs to the SystemUser group
Returns
Number: how many times the user is logged in, or 0 if not logged in.
Example
IF NMB_OF_SESSIONS(RegularUser) > 1 THEN REPORT ERROR 'User can only be logged in once'