The XML definition for user groups is shown below.
<?xml version="1.0" encoding="utf-8"?> <UserGroup name ="User Group name 1" label = "label 1"> <Comment >"Comment 1"</Comment> <Roles> <Role name="Role name 1"> <Scopes> <Scope>Access scope 1</Scope> <Scope>Access scope 2</Scope> <Scope>Access scope 3</Scope> </Scopes> </Role> <Role name="Role name 2"> <Scopes> <Scope>Access scope 1</Scope> <Scope>Access scope 2</Scope> <Scope>Access scope 3</Scope> </Scopes> </Role> <Roles> </UserGroup> |
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
User group name | Name of the user group | Character string (Unicode) beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-") |
Label | Label for the user group (optional) | Character string of up to 32 alphanumeric characters or symbols |
Comment | Comment for the user group (optional) | Character string of up to 256 alphanumeric characters or symbols |
Role Names | Role name (optional) | Specify the role name to assign to the access scope. |
Access scope | Specify the access scope for the role. | Specify the scope of access to allow for the user. |
Example
<?xml version="1.0" encoding="utf-8"?> <UserGroup name="admin" label="admin"> <Comment>admin_group</Comment> <Roles> <Role name="admin"> <Scopes> <Scope>all</Scope> </Scopes> </Role> </Roles> </UserGroup> |