Ilumnis Authentication

RoleCollection.HasRight Method (String)

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

public bool HasRight(
   string rightName
);

Parameters

rightName
Name 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
InvalidRightNameException Thrown when invalid rightName is passed.

See Also

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