group remove
Removes a member from a group. The syntax is:
group remove group_name_list -member member_name_list
Options
-member member_name_list A list of one or more names of principals to be added to each group in the argument.
Description The group remove operation removes members from the groups identified by group_name_list. The required -member_name_list is a list of
principals to remove from the groups named in group_name_list. The member_name_list can contain both local and fully qualified names. Use fully qualified names to remove
principals in foreign cells from the group.
When a member is removed from a group, any accounts associated with that principal and group are deleted. Remember that accounts are associated with a principal, a group, and an organization;
therefore, any accounts whose principal name and group name match those given to this command are removed, but accounts for which only one name matches are untouched. This operation returns an empty
string on success.
Privileges Required You must have r (read) and M (Member_list) permissions on the target groups and r (read) permission on
the member to be removed.
Examples
dcecp> group remove -member P_Pestana users dcecp>
|