Ilumnis Authentication

RoleCollection.HasRight Method (Right)

Checks if a right is part of in any of roles in this collection.

public bool HasRight(
   Right right
);

Parameters

right
Right to check for.

Return Value

true if right is part of at least one of roles in this collection, otherwise false.

Exceptions

Exception Type Condition
InvalidRightIdentifierException Thrown when right.RightId is invalid.

See Also

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