Ilumnis Authentication

RoleCollection.HasRight Method (Int32)

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

public bool HasRight(
   int rightId
);

Parameters

rightId
RightId of 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 invalid rightId is passed.

See Also

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