Ilumnis Authentication

AuthenticationValidator.ValidateRightId Method (Int32, String)

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

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

AuthenticationValidator Class | IExSys.Authentication.Validation Namespace | AuthenticationValidator.ValidateRightId Overload List