GetAllUsers
Function retrieves specified field for all active users and returns it in one string. Fields are separated with ’;’.
Syntax
GetAllUsers();
GetAllUsers("fieldName");
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
This function returns String.
Returns specified field value for all active users in single string with values separated by ’;’.
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");