Ilumnis Authentication

Role.HasRight Method (Int32)

Checks if a right is part of this role.

public bool HasRight(
   int rightId
);

Parameters

rightId
Database identifier of right to check.

Return Value

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

Exceptions

Exception Type Condition
InvalidRoleIdentifierException Thrown if invalid roleId is passed.

See Also

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