Use this command to view a list of the groups that a user belongs
to.
Purpose
Use the
getMembershipOfUser command
to view a list of the groups that a user belongs to.
If successful, the getMembershipOfUser command
returns a list of the unique names for the groups that the user is a member
of.
commands
Syntax
getMembershipOfUser {-uniqueName uniqueName}
Parameters
- -uniqueName uniqueName
- Specifies the unique name value for the user whose group memberships you
want to view. This parameter maps to the uniqueName property in virtual member
manager.
Sample
To view the groups that the user Dan Meyers
is a member of, issue this command:
$AdminTask getMembershipOfUser {-uniqueName uid=dmeyers,cn=users,dc=yourco,dc=com}