Table of Contents

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

username UserCredentialUsername

The 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 username is the unspecified struct default.