Ilumnis Authentication

AuthenticationValidator.ValidateLastName Method (String, String)

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

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

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