Method ReadAssignmentAsync
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
ReadAssignmentAsync(Guid, CancellationToken)
Reads one assignment.
Task<RoleAssignment?> ReadAssignmentAsync(Guid assignmentId, CancellationToken cancellationToken)
Parameters
assignmentIdGuidThe assignment.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<RoleAssignment>
The assignment, or null where none carries the identifier.