Method ReadUnreadableAsync
- Namespace
- MailFathom.Application.Access.Organizations
- Assembly
- MailFathom.Application.dll
ReadUnreadableAsync(CancellationToken)
Reads every organization row the caller's scope covers that this build will not read as one.
public Task<IReadOnlyList<UnreadableOrganization>> ReadUnreadableAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<IReadOnlyList<UnreadableOrganization>>
The unreadable rows, each with the sentence naming what its short name must become.
Exceptions
- PrincipalNotAuthorizedException
Thrown when the caller holds AdminRead at no scope.