Use this command to view a list of the members of
a group.
Purpose
Use the
getMembersOfGroup command
to view a list of the members of a group.
If successful, the
getMembersOfGroup command
returns the type of each member and the associated uniqueNames of each of
the member. For example:
- Person, uid=dmeyer,cn=users,dc=yourco,dc=com
- Group, cn=groupA,cn=groups,dc=yourco,dc=com
Syntax
getMembersOfGroup { -uniqueName uniqueName }
Parameters
- -uniqueName uniqueName
- Specifies the unique name value for the group whose members you want to
view. This parameter maps to the uniqueName property in virtual member manager.
Sample
To find all the members of the operators group,
issue this command:
$AdminTask getMembersOfGroup {-uniqueName cn=operators,cn=users,dc=yourco,dc=com}