Ilumnis Authentication

AuthenticationValidator.ValidateRightName Method (String, String)

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

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

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