Aqualogic Interaction API  
 

IPTUserGroup.QueryUsers Method (Boolean, Boolean, Int32, Int32)

Returns a portion of the direct user members of this group, indicated by nMaxRows and nRowsToSkip. 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,
   int nMaxRows,
   int nRowsToSkip
);

Parameters

bIncludeDynamicMembers
- true to include dynamic memberships, false to exclude them
bIncludeStaticMembers
- true to include static memberships, false to exclude them
nMaxRows
- maximum number of users returned by the query
nRowsToSkip
- number of users at the start of the result set to skip

Return Value

the user information, in an IPTQueryResult

See Also

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