Add(Right):Right

Adds a permission for a data object to the group.

Return type: Onion.Client.Right

Parameter

right

Type: Onion.Client.Right

This parameter defines the permissions for a data object for which the group is to be authorised.

If the group is already defined in the parameter, then an exception of the type System.ArgumentException is triggered with the message "AddRight required a temporary right created from a dataObject".