Ilumnis Authentication

Right.New Method (Int32, String)

Creates new right with specific RightId and name.

public static Right New(
   int rightId,
   string rightName
);

Parameters

rightId
Database right identifier for new right.
rightName
Name for new right.

Return Value

New right object.

Exceptions

Exception Type Condition
InvalidRightIdentifierException Thrown when invalid rightId is passed.
InvalidRightNameException Thrown when invalid rightName is passed.

See Also

Right Class | IExSys.Authentication Namespace | Right.New Overload List