Aqualogic Interaction API  
 

IPTUserGroup.QueryUsersCount Method (Boolean, Boolean)

Returns the number of users that are direct members of this group. Does not include users that are members of groups that are in turn members of this group, etc.

NOTE: providing a value of true for both bIncludeDynamicMembers and bIncludeStaticMembers will return all memberships for this group.

int QueryUsersCount(
   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 number of users

See Also

IPTUserGroup Interface | com.plumtree.server Namespace | IPTUserGroup.QueryUsersCount Overload List