Table of Contents

Method ReadUserPlacementAsync

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

ReadUserPlacementAsync(UserId, CancellationToken)

Reads which organization one user belongs to.

Task<UserPlacement?> ReadUserPlacementAsync(UserId user, CancellationToken cancellationToken)

Parameters

user UserId

The user.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<UserPlacement>

The user's placement, or null where nobody carries the identifier.

Exceptions

ArgumentException

Thrown when user names nobody.