Ilumnis Authentication

StandardValidator.ValidateRoleName Method 

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

public string ValidateRoleName(
   string roleName,
   string message
);

Parameters

roleName
Role name to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated role name.

Implements

IAuthenticationValidator.ValidateRoleName

Exceptions

Exception Type Condition
RoleException Thrown when invalid roleName is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace