Method ReadRolesAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
ReadRolesAsync(AdministrativeListingQuery, CancellationToken)
Reads one page of the roles this deployment holds, in identifier order.
Task<AdministrativeListingPage<Role>> ReadRolesAsync(AdministrativeListingQuery query, CancellationToken cancellationToken)
Parameters
queryAdministrativeListingQueryThe page asked for.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<AdministrativeListingPage<Role>>
The page, each role with the permissions it lists.