The XML definition for users is shown below.
<?xml version="1.0" encoding="utf-8"?> <User name="User name" label = "Label" > <Password >Password</Password> <Comment >"Comment 1"</Comment> <UserGroup>User group name</UserGroup> <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> </User> |
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
User name | Name of the user | Character string of up to 32 alphanumeric characters, underscores ("_"), hyphens ("-"), and periods (".") |
Label | Label for the user (optional) | Character string of up to 32 alphanumeric characters or symbols |
Password | Password for the user | Character string of up to 16 alphanumeric characters or symbols |
Comment | Comment for the user (optional) | Character string of up to 256 alphanumeric characters or symbols |
User group name | Name of the user group the user belongs to (optional) | Specify the name of a user group. |
Role Names | Role name (optional) | Specify the role name to assign to the access scope. |
Access scope | Set the access scope for the specified role. | Specify the scope of access to allow for the user. |
Example
<?xml version="1.0" encoding="utf-8"?> <User name="test_user01" label="test_user01"> <Password>test_user01</Password> <Comment>test_user</Comment> <UserGroup>admin</UserGroup> </User> |