PreviousNext

user delete

Deletes a single DCE user. The syntax is:

user delete user_name_list

Description
The user delete operation deletes the DCE users named in user_name_list. To delete a user, the operation proceeds as follows:

· Deletes the principal from the registry, which also deletes the account and removes the principal from any groups and organizations.

· Deletes the /.:/users/principal_name directory and any contents.

This operation returns an empty string on success.

Privileges Required
Because the user delete command performs several operations you need the permissions associated with each operation:

· You must have d (delete) permission to the directory in which the target principal exists. You must have r (read) and D (Delete_object) permissions on the principal to be deleted.

· You must have r (read) and M (Member_list) permissions on the target groups and organizations and r (read) permission on the member to be removed.

· To delete the account, you must have r (read), m (mgmt_info), a (auth_info), and u (user_info) permissions for the principal named in the account.

· To delete the directory in CDS, you must have d (delete) permission to the directory and w (write) permission to the clearinghouse that stores the master replica of the directory. The server principal needs a (auth_info) permission to the parent directory or d (delete) permission to the child pointer that points to the directory you intend to delete.

Examples
The following example deletes user K_Parsons from the cell.

dcecp> user delete K_Parsons
dcecp>