Table of Contents

Method ReadRoleAsync

Namespace
MailFathom.Application.Access.Grants
Assembly
MailFathom.Application.dll

ReadRoleAsync(Guid, CancellationToken)

Reads one role.

Task<Role?> ReadRoleAsync(Guid roleId, CancellationToken cancellationToken)

Parameters

roleId Guid

The role.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<Role>

The role with the permissions it lists, or null where none carries the identifier.