Groups.getCounts (Method)

Returns a structure containing information about groups; for example, the number of groups, the number of groups that do not have an administrator, and so on.

Returns:

Groups_GetCounts_Result (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
AdminCount NonNegativeInteger The number of groups for which the current user is an administrator.
AdminVisibleCount NonNegativeInteger How many groups are visible to the current user on the Group Administrator page.
NoAdminCount NonNegativeInteger The number of users that do not have an administrator.
TotalCount NonNegativeInteger The number of groups.
WithExpiredUsersCount NonNegativeInteger The number of groups having expired users.

Context:

License Requirements None
Permission Requirements Contributor
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None