Ilumnis Authentication

StandardValidator.ValidateRightId Method 

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

public int ValidateRightId(
   int rightId,
   string message
);

Parameters

rightId
RightId to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated RightId.

Implements

IAuthenticationValidator.ValidateRightId

Exceptions

Exception Type Condition
InvalidRightIdentifierException Thrown when invalid rightId is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace