Ilumnis Authentication

RightCollection.HasRight Method (String)

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

public bool HasRight(
   string rightName
);

Parameters

rightName
Name of the right to check for.

Return Value

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

Exceptions

Exception Type Condition
InvalidRightNameException Thrown when invalid rightName is passed.

See Also

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