Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?