PreviousNext

group delete

Deletes groups from the registry. The syntax is:

group delete group_name_list

Description
The group delete operation deletes groups from the registry. When a group is deleted, any accounts associated with the group are deleted as well. The argument is a list of names of groups to be deleted. If a named group does not exist an error is generated. This operation returns an empty string on success.

This operation also deletes any accounts associated with groups that are deleted. To preserve accounts, add the desired principals to a different group by using the group add -member command. Modify the principals' accounts to point to the new group by using the account modify command. Then you can delete the group by using the group delete command.

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

Examples

dcecp> group delete users4
dcecp>