Ilumnis Authentication

IAuthenticationValidator.ValidateMiddleName Method 

Validates middleName and adds custom message to exception, if one is thrown.

string ValidateMiddleName(
   string middleName,
   string message
);

Parameters

middleName
Middle name to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated middle name.

Exceptions

Exception Type Condition
InvalidMiddleNameException Thrown when invalid middleName is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace