this[IDataObject, Boolean]:Right

Calls the permissions for the indicated data object in the group.

This method returns the permissions for a data object that have been defined in this group. Any permissions the group has obtained for the data object via Includes are not returned with this method.

Return type: Onion.Client.Right

Parameter

dataObject

Type: Onion.Client.IDataObject

This parameter is the data object for which the permissions in the group are to be called.

If no permissions are found, then NULL or, depending on createIfNotExists, a new instance of an permision is returned.

createIfNotExists

Type: System.Boolean

This parameter affects the return value, in the case that no permission for the indicated data object is found.

If true is indicated as the value, then a new permission for the data object is generated in the group and returned.