Right(IGroup, RightValue)

Initialises a new instance of the Right class.

With this constructor, an permission of a data object is initialised for a group with the group and permissions.

Moreover, the value of the data object must be set via the properties of the class.

Parameter

group

Type: Onion.Client.IGroup

This parameter is the group for which the permissions of a ChangeSet are to apply.

initialState

Type: RightValue

This parameter sets the initial value for all permissions of this class.

If for example the value RightValue.Set is transferred for the parameter, then all permissions will be given the initial value Set.