Ilumnis Authentication

Role.HasRight Method (String)

Checks if a right is part of this role.

public bool HasRight(
   string rightName
);

Parameters

rightName
Name of right to check.

Return Value

true if right is part of this role, otherwise false.

Exceptions

Exception Type Condition
InvalidRoleNameException Thrown if invalid roleName is passed.

See Also

Role Class | IExSys.Authentication Namespace | Role.HasRight Overload List