{{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 ===== IF NMB_OF_SESSIONS(RegularUser) > 1 THEN REPORT ERROR 'User can only be logged in once'