Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:f:af:nab_of_sessions [2022/09/02 02:51] – removed - external edit (Unknown date) 127.0.0.1a_f:f:af:nab_of_sessions [2023/05/09 01:14] (current) sean
Line 1: Line 1:
 +{{tag>Index Function Function_List Miscellaneous Version:v4.8}}
 +====== 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
 +===== Parameters =====  
 +An instance of an object that belongs to the SystemUser group
 +===== Example =====  
 +<code aim>IF NMB_OF_SESSIONS(RegularUser) > 1 THEN 
 + REPORT ERROR 'User can only be logged in once' </code>