Ilumnis Authentication

StandardValidator.ValidateFirstName Method 

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

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

Implements

IAuthenticationValidator.ValidateFirstName

Exceptions

Exception Type Condition
InvalidFirstNameException Thrown when invalid firstName is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace