GetAllUsers
Function retrieves specified field for all active users and returns it in one string. Fields are separated with ’;’.
GetAllUsers();GetAllUsers("fieldName");Function arguments
Dział zatytułowany „Function arguments”- fieldName – (String) [Optional] Name of the field which is to be retrieved from each of active users. If not used, login names will be retrieved.
Return value
Dział zatytułowany „Return value”This function returns String. Returns specified field value for all active users in single string with values separated by ’;’.
Examples
Dział zatytułowany „Examples”Example 1: This will retrive all active users logins and store them in ’activeUsers’ variable.
activeUsers = GetAllUsers();Example 2: Get value of ’email’ user field from all active users and store them in ’activeUsersEmail’ variable.
activeUsersEmail = GetAllUsers("email");