Property User
- Namespace
- MailFathom.Application.Accounts
- Assembly
- MailFathom.Application.dll
User
Gets the user this unit of work is acting for, whose assignments decide what every read narrowed here returns.
UserId User { get; }
Property Value
Remarks
Published beside the accounts because the two are one answer, and because a use case needs the user for what belongs to the person rather than to the mailbox — the drafts and recurring sends they authored, the posture their text is scanned under. No mail row carries it: the accounts are the whole of what narrows a mailbox read, and reading the user here rather than from the principal directly is what keeps a caller's assignments and the user they were resolved for from being two answers.
Exceptions
- PrincipalNotAuthorizedException
Thrown when the work in hand is acting for no user.