Exago .NET API Documentation
Security Property
Example 
WebReports.Api.Roles Namespace > Role Class : Security Property
Returns the WebReports.Api.Roles.Security object, that holds all of the Role's Security Settings (Folder, Data Object, Data Object Rows).
Syntax
public Security Security {get;}
Example
Add a folder to the Folders Collection to restrict access
f = r.Security.Folders.NewFolder();
f.Name = "Sales Reports\\2020";
f.ReadOnly = true;
See Also

Reference

Role Class
Role Members