Method ReadAssignmentsAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
ReadAssignmentsAsync(AdministrativeListingQuery, GrantListingReach, CancellationToken)
Reads one page of the role assignments a reach covers, in identifier order.
Task<AdministrativeListingPage<RoleAssignment>> ReadAssignmentsAsync(AdministrativeListingQuery query, GrantListingReach reach, CancellationToken cancellationToken)
Parameters
queryAdministrativeListingQueryThe page asked for.
reachGrantListingReachWhat the listing answers within: every assignment, or those whose principal and scope both lie inside some organizations and users.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<AdministrativeListingPage<RoleAssignment>>
The page.