Table of Contents

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

query AdministrativeListingQuery

The page asked for.

reach GrantListingReach

What the listing answers within: every group, or the groups of some organizations.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<AdministrativeListingPage<UserGroup>>

The page, each group with how many members it has.