Method Create
- Namespace
- MailFathom.Domain.Access
- Assembly
- MailFathom.Domain.dll
Create(string)
Reads a written username into its canonical form, refusing anything this deployment does not accept.
public static UserCredentialUsername Create(string written)
Parameters
writtenstringThe name as a person or an operator typed it.
Returns
- UserCredentialUsername
The canonical username.
Remarks
For a caller that has already established the value is usable — a row read back out of the table it was written into, above all — where an answer would only be discarded.
Exceptions
- ArgumentException
Thrown when the written form is not a username this deployment accepts.