Table of Contents

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

query AdministrativeListingQuery

The page asked for.

reach GrantListingReach

What the listing answers within: every assignment, or those whose principal and scope both lie inside some organizations and users.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<AdministrativeListingPage<RoleAssignment>>

The page.