Usage Scenario
To allow the authority of the current user group to contain the authority of another user group or the current user group to inherit the authority of an existing user group, run the include user-group command.
The authority of a user group is determined by that of the user group it contains. If the authority of the contained user group changes, the authority of the current user group will change.
Prerequisites
The contained user group must have existed. To be specific, the contained user group must have been configured or is the default user group.
Precautions
- Each user group is allowed to contain only one user group. Before changing the contained user group, run the undo include user-group command to remove the contained user group from the current user group.
- The default user group cannot contain other user groups.
- A maximum of four-layer include relationships are supported. To be specific, a maximum of A(B(C(D))) is supported. User group A contains user group B, user group B contains user group C, and user group C contains user group D.
- A user group cannot contain another user group that has directly or indirectly contained it. For example, A(B(A)) is not supported. When user group B contains user group A, user group A cannot contain user group B. A(B(C(A))) is not supported neither. When user group B contains user group C and user group C contains user group A, user group A cannot contain user group B.