Validates roleId and adds custom message to exception, if one is thrown.
Validated RoleId.
Exception Type | Condition |
---|---|
InvalidRoleIdentifierException | Thrown when invalid roleId is passed. |
AuthenticationValidator Class | IExSys.Authentication.Validation Namespace | AuthenticationValidator.ValidateRoleId Overload List