user delete

Deletes the specified Security Access Manager user. Optionally deletes the information of the user in the user registry.

Requires authentication (administrator ID and password) to use this command.

Syntax

user delete [–registry] user_name

Options

–registry
Deletes the information of the user from the user registry. If this option is not specified, the registry user information can be used to create another Security Access Manager user by using the user import command. (Optional)
user_name
Specifies the name of the account to be deleted. Any resource credentials that are associated with a user account are automatically removed at the same time the user account is deleted. The user must exist, or an error is displayed.

Examples of user names are dlucas, sec_master, and "Mary Jones".

Return codes

0
The command completed successfully.
1
The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2).

See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.

Example

The following example deletes the dlucas user:

pdadmin sec_master> user delete dlucas

See also