Skip to content

DELETE_USERGROUPS

DELETE_USERGROUPS deletes one or more ADOxx user groups.

Syntax

leo-grammar
CC "UserMgt" DELETE_USERGROUPS usergroups:strValue [ sep:strValue ]

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

# --> RESULT ecode:intValue .

Parameters

  • usergroups (strValue) - specifies the names of one or more user groups to be deleted. The user groups are specified as a string containing usergroup names, separated by the character passed with sep. The default value for sep is ";" (semicolon). However, it is recommended to use sep:"\t" (TAB).
  • sep (strValue) -

Returns

  • ecode (intValue) - Contains the error code or is 0 in case of success.

Details

This command is only available within the ADOxx Development Toolkit.

See Also

Examples

leo-grammar
CC "UserMgt" DELETE_USERGROUPS usergroups:"group1\tgroup2" sep:"\t"
IF (ecode) {
    CC "AdoScript" ERRORBOX "User groups could not be deleted!"
}
CC "UserMgt" DELETE_USERGROUPS usergroups:"group1\tgroup2" sep:"\t"
IF (ecode) {
    CC "AdoScript" ERRORBOX "User groups could not be deleted!"
}

Versions and Changes

Available since ADOxx 1.3