Method ReadGroupsAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
ReadGroupsAsync(AdministrativeListingQuery, GrantListingReach, CancellationToken)
Reads one page of the groups a reach covers, in identifier order.
Task<AdministrativeListingPage<UserGroup>> ReadGroupsAsync(AdministrativeListingQuery query, GrantListingReach reach, CancellationToken cancellationToken)
Parameters
queryAdministrativeListingQueryThe page asked for.
reachGrantListingReachWhat the listing answers within: every group, or the groups of some organizations.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<AdministrativeListingPage<UserGroup>>
The page, each group with how many members it has.