Ilumnis Authentication

AuthenticationValidator.ValidateMiddleName Method (String, String)

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

public static 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

AuthenticationValidator Class | IExSys.Authentication.Validation Namespace | AuthenticationValidator.ValidateMiddleName Overload List