WebCenter Interaction API  
 

IPTUser.QueryDirectGroups Method ()

Queries for the user's group memberships, without taking into account any nested group hierarchy. This method is mainly for displaying what groups a user has been added to or included in by dynamic membership rule. This function returns both static and dynamic memberships.

IPTQueryResult QueryDirectGroups();

Return Value

IPTQueryResult containing the groups the user is in. The query result contains object IDs of the groups and their corresponding localized names, which can be extracted from the IPTQueryResult using PT_PROPIDS.PT_PROPID_OBJECTID and PT_PROPIDS.PT_PROPID_NAME, respectively.

See Also

IPTUser Interface | com.plumtree.server Namespace | IPTUser.QueryDirectGroups Overload List | IPTUserGroup