Interface IUserDirectory
- Namespace
- MailFathom.Application.Access
- Assembly
- MailFathom.Application.dll
Reads the users this deployment holds records for.
public interface IUserDirectory
Remarks
It answers about the user records themselves rather than about anything they own, which is why it is the whole of this port: what a user's mail accounts are is the account catalog's question, and what a user has configured is their own document's. What it is asked is who is on the list, what each of them is called, and whether anybody is on it at all — an administrator's listing, one person's own envelope, and the provisioning that refuses a second user where a surface could not tell two apart.
Methods
- ReadUserAsync(UserId, CancellationToken)
Reads the envelope of one user this deployment holds.
- ReadUserPageAsync(AdministrativeListingQuery, IReadOnlySet<AssignmentScope>, CancellationToken)
Reads one page of the users some scopes cover, in identifier order.
- ReadUsersAsync(int, CancellationToken)
Reads the users this deployment holds, at most as many as asked for.