rmuser

The rmuser command removes a basic user account.

Only users with administrator authority can use this command to delete a user ID. Users with only security administrator authority can delete a user ID in the security administrator group role. Users with administrator authority can delete a user ID in any group role except security administrator.

Read syntax diagramSkip visual syntax diagramrmuser  -quiet  -pol  pol_nameuser_name "-"

Parameters

-quiet
(Optional) Turns off the removal confirmation prompt for this command.
-pol pol_name
(Optional) The name of the basic authentication policy. This parameter is optional if you authenticated with a 'basic' authentication policy type, but it is required if you are authenticated with another type of authentication policy.
user_name |
(Required) The user name of the user account to be removed.
If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.

Example 1: Removing a user account.

dscli> rmuser pol my_policy1 testuser
Output:
Are you sure you want to delete User_Name testuser? y/n
Y
User_Name testuser within my_policy1 successfully deleted.

Example 2: Removing a user account.

dscli> rmuser engineering
Output:
Are you sure you want to delete user engineering? y/n
Y
User engineering successfully deleted.

Example 3: Removing a user account.

dscli> rmuser service
Output:
Are you sure you want to delete user service? y/n
Y
User service successfully deleted.

Example 4: Removing a user account.

dscli> rmuser ingeniero
Output:
Are you sure you want to delete user ingeniero? y/n
Y
User ingeniero successfully deleted.