getMembershipOfGroup command

Use this command to view a list of the groups that a group belongs to.

Purpose

Use the getMembershipOfGroup command to view a list of the groups that a group belongs to.

If successful, the getMembershipOfGroup command returns a list of the unique names for the groups that the group is a member of.

Syntax

getMembershipOfGroup { -uniqueName uniqueName] }

Parameters

-uniqueName uniqueName
Specifies the unique name value for the group 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 group operators is a member of, issue this command:
$AdminTask getMembershipOfGroup {-uniqueName cn=operators,cn=groups,dc=yourco,dc=com}


Terms of use | Feedback

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.wim.doc/getmembershipofgroupcommand.html