PreviousNext

principal delete

Deletes principals from the registry. The syntax is:

principal delete principal_name_list | alias_name_list

Description
The principal delete operation deletes principals from the registry. When a principal is deleted, the principal's account is deleted as well. The principal_name_list argument is a list of names of principals to be deleted. Note that these names can be either a primary or alias names. In either case, an account associated with that name is deleted. If a named principal does not exist, an error is generated. This operation returns an empty string on success.

Privileges Required
You must have d (delete) permission to the directory in which the target principal exists. You must have rD permission on the principal to be deleted.

Examples

dcecp> principal delete /.:/William_Smith
dcecp>