Remove(Right):Void

Removes an existing permission for a group.

This method removes a permission for the current data object in a group. After the method has been executed, no permissions are defined for this data object in the group. The group now has the permissions of superordinate groups for this data object. If the group has no superordinate groups or no permissions for the data object are defined in these, then the group does not have access to the data object.

Return type: System.Void

Parameter

right

Type: Onion.Client.Right

This parameter contains a permission in which the group and the data object are defined.

If the data object is not defined, then an ArgumentException is triggered with the message "The right does not belong to this dataObject".