Przejdź do głównej zawartości

GetAllUsers

Function retrieves specified field for all active users and returns it in one string. Fields are separated with ’;’.

GetAllUsers();
GetAllUsers("fieldName");
  • 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.

This function returns String. Returns specified field value for all active users in single string with values separated by ’;’.

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");