Skip to content

GET_USER_TABLE_XML ​

GET_USER_TABLE_XML generates an XML string containing information about all existing users and user groups.

Syntax ​

leo-grammar
CC "UserMgt" GET_USER_TABLE_XML

# --> RESULT xml:strValue ecode:intValue
CC "UserMgt" GET_USER_TABLE_XML

# --> RESULT xml:strValue ecode:intValue

Parameters ​

none

Returns ​

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

Details ​

The resulting XML string (xml) has the following structure:

xml
<root>
<usergroups>
{ <usergroup ... /> }
</usergroups>
<users>
{ <user ... /> }
</users>
</root>
<root>
<usergroups>
{ <usergroup ... /> }
</usergroups>
<users>
{ <user ... /> }
</users>
</root>

A usergroup tag has following attributes
id - ID of the current user group
type - either "system" (system user group) or "internal" (ADOxx user group)
name - user group name

A user tag has following attributes
id - ID of the current user
type - either "system" (system user) or "internal" (ADOxx user)
domain - domain name of the current user
name - user name
applibid - ID of the application library related to the current user
comment - user specific information
usergroups - related user group IDs, separated by ";" (semicolon)

See Also ​

Examples ​

Versions and Changes ​

Available since ADOxx 1.3