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");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.