Skip to content

GET_ALL_USERGROUPS

GET_ALL_USERGROUPS returns all ADOxx user groups.

Syntax

leo-grammar
CC "UserMgt" GET_ALL_USERGROUPS	[ sep:strValue ]

# --> RESULT ecode:intValue usergroups:strValue
CC "UserMgt" GET_ALL_USERGROUPS	[ sep:strValue ]

# --> RESULT ecode:intValue usergroups:strValue

Parameters

  • sep (strValue) -

Returns

  • ecode (intValue) - Contains the error code or is 0 in case of success.
  • usergroups (strValue) - contains the names of the user groups separated by the character passed with sep. The default value for sep is ";" (semicolon). However, it is recommended to use sep:"\t" (TAB).

Details

This command is available within both the ADOxx Development Toolkit and the ADOxx Modelling Toolkit. In the Modelling Toolkit only users that also have access to the Development Toolkit may call this command! With the command ACTIVATE_READONLY_COMMANDS_FOR_BPMTK this behaviour can be changed.

See Also

ACTIVATE_READONLY_COMMANDS_FOR_BPMTK

Examples

leo-grammar
CC "UserMgt" GET_ALL_USERGROUPS sep:"\t"
IF (ecode) {
    CC "AdoScript" ERRORBOX "Could not get usergroups!"
}
CC "UserMgt" GET_ALL_USERGROUPS sep:"\t"
IF (ecode) {
    CC "AdoScript" ERRORBOX "Could not get usergroups!"
}

Versions and Changes

Available since ADOxx 1.3