Ilumnis Authentication

User.HasRight Method (String)

Checks if this user has specific right.

public bool HasRight(
   string rightName
);

Parameters

rightName
Name of the right to check for.

Return Value

true if user has specified right, otherwise false.

Exceptions

Exception Type Condition
InvalidRightNameException Thrown when invalid rightName is passed.

See Also

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