Ilumnis Authentication

IAuthenticationValidator.ValidateFirstName Method 

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

string ValidateFirstName(
   string firstName,
   string message
);

Parameters

firstName
First name to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated first name.

Exceptions

Exception Type Condition
InvalidFirstNameException Thrown when invalid firstName is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace