Ilumnis Authentication

StandardValidator.ValidateLastName Method 

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

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

Implements

IAuthenticationValidator.ValidateLastName

Exceptions

Exception Type Condition
InvalidLastNameException Thrown when invalid lastName is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace