The user-group command creates a user group or enter the user group view.
The undo user-group command deletes a user group.
By default, four user groups (visit-ug, monitor-ug, system-ug, and manage-ug) are available.
Parameter | Description | Value |
---|---|---|
user-group-name |
Indicates the user group name. |
The value is a string of 1 to 32 characters containing letters, digits, and underscores (_). The name of a user group must be unique on a virtual system (VS). The value must comply with the Windows naming rule and cannot contain the following characters or symbols: \, /, :, *, | , ?, ", <, > |
Usage Scenario
When the rights of the system default user group fail to meet your demand, you can create a new user group and allocate required rights (task groups) to the new user group. In this manner, user rights can be controlled in a more flexible way.
The default user groups (visit-ug, monitor-ug, system-ug, and manage-ug) are automatically mapped to levels 0 to 3; however, user-defined user groups are not automatically mapped to any levels. You can add a user-defined user group to a task group to determine the permission of this user group. The users of different levels can run commands of different levels.
By default, commands are registered according to levels 0 to 3.
Follow-up Procedure
Allocate required rights to the user group, that is, add the user group to the user group, and add users to the user group.
Precautions
When a user group is to be deleted, the user group to be deleted exists. And No local or online user belongs to this user group.The default user group cannot be deleted. When the number of user groups reaches the system threshold, no more user groups can be created.