Right(IChangeSet, 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 data object and permissions.

Moreover, the value for the group must be set via the properties of the class.

Parameter

changeSet

Type: Onion.Client.IChangeSet

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.