ChangeSetRight(IChangeSet, RightValue)

Initialises a new instance of the ChangeSetRight class.

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

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

Parameter

changeSet

Type: Onion.Client.IChangeSet

This parameter is the ChangeSet for which the permissions in a group are to be set.

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.