GET_ALL_USERGROUPS_OF_USER ​
GET_ALL_USERGROUPS_OF_USER returns all user groups of a given ADOxx user.
Syntax ​
leo-grammar
CC "UserMgt" GET_ALL_USERGROUPS_OF_USER user:strValue [ sep:strValue ]
# --> RESULT usergroups:strValue ecode:intValue
Parameters ​
user
(strValue) - the usernamesep
(strValue) -
Returns ​
ecode
(intValue) - 0 (meaning success) or 1 (meaning error).usergroups
(strValue) - contains user group names separated by 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 messageport 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_OF_USER user:"Nimda" sep:"\t"
IF (ecode) {
CC "AdoScript" ERRORBOX "Error!"
}
Versions and Changes ​
Available since ADOxx 1.3