Differences

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

Link to this comparison view

Both sides previous revision Previous revision
ref:a_f:f:af:nab_of_sessions [2026/08/13 00:43] – removed - external edit (Unknown date) 127.0.0.1ref:a_f:f:af:nab_of_sessions [2026/08/13 00:43] (current) – ↷ Page moved from a_f:f:af:nab_of_sessions to ref:a_f:f:af:nab_of_sessions localdev
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>