this[IGroup, Boolean]:Right

Calls the permission for the indicated group.

A permission is assigned to a group for a data object. A permission consists of a list of rights for a data object, such as the reading or editing of a data object.

Return type: Onion.Client.Right

Parameter

group

Type: Onion.Client.IGroup

This parameter is the group for which the permission for the data object is to be called.

createIfNotExists

Type: System.Boolean

This parameter controls whether a permission for the indicated group is to be generated, in the case that no permission is found at the time of calling.

If true is indicated as the value, then a permission is generated for the group and the current data object. The rights are set to default RightValue.Inherit here.

If false is indicated as the value, then NULL is returned.