Ilumnis Authentication

IAuthenticationValidator.ValidateRightName Method 

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

string ValidateRightName(
   string rightName,
   string message
);

Parameters

rightName
Right name to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated right name.

Exceptions

Exception Type Condition
InvalidRightNameException Thrown when invalid rightName is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace