The add sub-group command adds a sub-group to a user group.
The undo add sub-group command deletes a sub-group.
| Parameter | Description | Value |
|---|---|---|
| group-name | Specifies the name of the sub-group added to a user group. | The value must be an existing user group name (with the group path), and cannot be the name of any parent group or ancestor group. |
| all | Deletes all sub-groups from a user group. | - |
A user group can be added to only one parent group.
After you run the undo add sub-group command, the parent group of the sub-group is restored to the root group of the authentication domain to which the user belongs. For example, the root group of the default authentication domain is the /default group.