Aqualogic Interaction API  
 

IPTUserGroup.QueryUsers Method (Boolean, Boolean)

Returns the direct user members of this group. Allows one to distinguish between dynamic and static memberships, or return both.

Returned properties include PT_PROPID_OBJECTID, PT_PROPID_NAME, PT_PROPID_DESCRIPTION, PT_PROPID_ISLOCALIZED, PT_PROPID_USER_UNIQUENAME, PT_PROPID_USER_LOGINNAME.
NOTE: providing a value of true for both bIncludeDynamicMembers and bIncludeStaticMembers will return all memberships for this group.

IPTQueryResult QueryUsers(
   bool bIncludeDynamicMembers,
   bool bIncludeStaticMembers
);

Parameters

bIncludeDynamicMembers
- true to include dynamic memberships, false to exclude them
bIncludeStaticMembers
- true to include static memberships, false to exclude them

Return Value

the user information, in an IPTQueryResult

See Also

IPTUserGroup Interface | com.plumtree.server Namespace | IPTUserGroup.QueryUsers Overload List | IPTQueryResult | PT_PROPIDS