Method ForUsername
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
ForUsername(UserCredentialUsername)
Reads the value a username credential is resolved by.
public static UserCredentialLookup ForUsername(UserCredentialUsername username)
Parameters
usernameUserCredentialUsernameThe canonical username.
Returns
- UserCredentialLookup
The lookup.
Remarks
The canonical form and nothing else, because the folding a username needs has already been done by the type that owns it.
Exceptions
- ArgumentException
Thrown when
usernameis the unspecified struct default.