Exago .NET API Documentation
Activate() Method
Example 
WebReports.Api.Roles Namespace > Role Class > Activate Method : Activate() Method
Make this Role the active one, and apply the Role's General Settings to the environment. This is the same as calling Activate(true).
Syntax
public void Activate()
Example
Activate the "ReportUser" Role and apply the General Settings.
api.Roles.GetRole("ReportUser").Activate();
See Also

Reference

Role Class
Role Members
Overload List