Skip to main content
Version: 20 R7 BETA

GET USER LIST

GET USER LIST ( userNames ; userNumbers )

ParameterTypeDescription
userNamesText arrayUser names as they appear in the Password editor window
userNumbersArray integerCorresponding unique user ID numbers

This command is not thread-safe, it cannot be used in preemptive code.

Description

GET USER LIST populates the arrays userNames and userNumbers with the names and unique ID numbers of the users as they appear in the Passwords window.

The array userNames is filled with the user names displayed in the Passwords window, including users whose accounts are disabled (user names displayed in green in the Passwords window).

Note: Use the Is user deleted command to detect deleted users.

The array userNumbers, synchronized with userNames, is filled with the corresponding unique user ID numbers.

Note for binary databases: Group and user ID values depend on their creator (Designer, Administrator, or affiliated group owner). For more information, please refer to the User and group ID ranges paragraph.

Error management

If you do not have the proper access privileges for calling GET USER LIST or if the Password system is already accessed by another process, an access privilege error is generated. You can catch this error with an error-handling method installed using ON ERR CALL.

See also

GET GROUP LIST
GET USER PROPERTIES
Set user properties