Skip to main content
Version: 20 R7 BETA

GET GROUP LIST

GET GROUP LIST ( groupNames ; groupNumbers )

ParameterTypeDescription
groupNamesText arrayNames of the groups as they appear in the Password editor window
groupNumbersArray integerCorresponding unique group ID numbers

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

Description

GET GROUP LIST populates the arrays groupNames and groupNumbers with the names and unique ID numbers of the groups as they appear in the Password editor window.

The array groupNumbers, synchronized with groupNames, is filled with the corresponding unique group ID numbers.

  • In project databases, these numbers start at 15001 and are dynamically allocated at startup and maintained during the session.
  • In binary databases, these numbers are stored and belong to a specific range, depending on the group creator. 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 GROUP 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 PROPERTIES
GET USER LIST
Set group properties