Method Create
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
Create(Guid)
Creates a user identity from a persisted identifier.
public static UserId Create(Guid value)
Parameters
valueGuidThe generated identifier the user's record is keyed by.
Returns
- UserId
The user identity.
Exceptions
- ArgumentException
Thrown when
valueis the empty identifier, which names nobody.