Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Supported commands > User and group management commands


removeMemberFromGroup command

Use this command to remove a member from a group.


Purpose

Use the removeMemberFromGroup command to remove a user or a group from a specified group.

If successful, the removeMemberFromGroup command returns the unique name of the removed member.

If the Use global security settings option is selected for the user realm or the Global federated repositories option is selected as the realm type for the specified domain, this command is executed on the federated repository of the admin domain. However, configuration changes performed on the domain are applied to the security domain-specific configuration.


Syntax

removeMemberFromGroup { -memberUniqueName uniqueName -groupUniqueName uniqueName
 [-securityDomainName domainName] }


Parameters

-memberUniqueName uniqueName

Unique name for the user or group that you want to remove from the specified group. This parameter maps to the uniqueName property in virtual member manager.

-groupUniqueName uniqueName

Unique name for the group you from which you want to remove the user or group specified in the memberUniqueName parameter. This parameter maps to the uniqueName property in virtual member manager.

-securityDomainName domainName

Name that uniquely identifies the security domain. If not specified, uses the global federated repository.


Sample

To remove Dan Meyers from the admins group, issue this command:

$AdminTask removeMemberFromGroup {-memberUniqueName uid=meyersd,cn=users,dc=yourco,dc=com
                                  -groupUniqueName cn=admins,cn=groups,dc=yourco,dc=com}dc=com}
To remove the operators group from the admins group, issue this command:
$AdminTask removeMemberFromGroup {-memberUniqueName cn=operators,cn=groups,dc=yourco,dc=com
                                  –groupUniqueName cn=admins,cn=groups,dc=yourco,dc=com}

Parent topic: User and group management commands
Command format



+

Search Tips   |   Advanced Search