rmusergrp
Use the rmusergrp command to delete a user group.
Syntax
Parameters
- -force
- (Optional) Specifies that the user group should be deleted even if there are users in the
group. Important: Using the force parameter might result in a loss of access. Use it only under the direction of IBM® support personnel.
- group_id | group_name
- (Required) The ID or name of the user group to be removed.
Description
Use the rmusergrp command to delete a user group.
You must have the security administrator role to create, delete, or change a user group.
User groups with users cannot normally be deleted. If you use the force parameter, the group is deleted, and all of the users in that group are assigned to the Monitor group. Default user groups cannot be deleted, even if the force parameter is set.
When two person integrity (TPI) is enabled, a restricted security administrator can still use the rmusergrp command except that it cannot remove a target user group that has security administrator role.
In order to remove a target user group that has security administrator role, an approved role elevation is required. But even holding an approved role elevation, one cannot remove a user group that has security administrator role, if the end result will compromise the minimum security administrator user requirements of TPI.
An invocation example
rmusergrp supportThe resulting output:
No feedback