Exago .NET API Documentation
IncludeAll Property (DataObjectCollection)
Example 
WebReports.Api.Roles Namespace > DataObjectCollection Class : IncludeAll Property

If True, any Data Object in the system that is not included in the DataObjectCollection will be available in the interface. If False, only the Data Objects in the collection will be available in the interface.

If True and there are no objects in the collection, then there is no restriction on data objects in the user interface. If False with no objects in the collection, no objects will be available and the Data Pane will be empty.

Syntax
public System.bool IncludeAll {get; set;}

Property Value

True or False as explained above.
Remarks
The same as checking or unchecking the Admin Console > Roles > MainInclude All Folders checkbox
Example
Show every Data Object available EXCEPT the one with ID = donations
DataObject d = r.Security.DataObjects.NewDataObject();
d.Name = "donations";
r.Security.DataObjects.IncludeAll = true;
Show ONLY the Data Object with ID = donations
DataObject d = r.Security.DataObjects.NewDataObject();
d.Name = "donations";
r.Security.DataObjects.IncludeAll = false;
See Also

Reference

DataObjectCollection Class
DataObjectCollection Members