Ilumnis Authentication

RightCollection.HasRight Method (Int32)

Checks if a right with specific RightId is part of this collection.

public bool HasRight(
   int rightId
);

Parameters

rightId
RightId of the right to check for.

Return Value

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

Exceptions

Exception Type Condition
InvalidRightIdentifierException Thrown when invalid rightId is passed.

See Also

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