Ilumnis Authentication

IAuthenticationValidator.ValidateLastName Method 

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

string ValidateLastName(
   string lastName,
   string message
);

Parameters

lastName
Last name to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated last name.

Exceptions

Exception Type Condition
InvalidLastNameException Thrown when invalid lastName is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace