Ilumnis Authentication

IAuthenticationValidator.ValidateRightId Method 

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

int ValidateRightId(
   int rightId,
   string message
);

Parameters

rightId
Database right identifier to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated RightId.

Exceptions

Exception Type Condition
InvalidRightIdentifierException Thrown when invalid rightId is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace