Ilumnis Authentication

User.HasRight Method (Int32)

Checks if this user has specific right.

public bool HasRight(
   int rightId
);

Parameters

rightId
RightId of the right to check for.

Return Value

true if user has specified right, otherwise false.

Exceptions

Exception Type Condition
InvalidRightIdentifierException Thrown when invalid rightId is passed.

See Also

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