GET_USERGROUP_ID ​
This AdoScript command returns the id of an ADOxx usergroup.
Syntax ​
leo-grammar
CC "UserMgt" GET_USERGROUP_ID usergroup:strValue
# --> RESULT ecode:intValue usergroupid:intValue
Parameters ​
usergroup
(strValue) - the usergroup which id should be returned
Returns ​
ecode
(intValue) - Contains the error code or is 0 in case of success.usergroupid
(intValue) - the id of the usergroup
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_USERGROUP_ID usergroup:"Beatles"
IF (ecode = 0)
{
CC "AdoScript" INFOBOX (usergroupid)
}
ELSE
{
CC "AdoScript" ERRORBOX "The Beatles' ID could not be retreived!"
}
Versions and Changes ​
Available since ADOxx 1.3