rmuser

Use the rmuser command to delete a user.

Syntax

Read syntax diagramSkip visual syntax diagram rmuser user_id user_name

Parameters

user_id or user_name
(Required) Specifies the user to be removed.

Description

Use the rmuser command to delete a user.

You must have the security administrator role to create, delete, or modify a user. You cannot remove yourself by using this command.

When two person integrity (TPI) is enabled, a restricted security administrator can still use the rmuser command except that it cannot remove a target user that belongs to a security administrator user group. To remove a target user that belongs to a security administrator user group, an approved role elevation is required. But even with an approved role elevation, rmuser is not allowed:
  • if the target user has active role elevations.
  • if removing the target user will result in no compliance of the minimum security administrator user requirements of TPI.

An invocation example

rmuser jane

The resulting output:

No feedback