Exago .NET API Documentation
Activate(Boolean) Method
Example 
WebReports.Api.Roles Namespace > Role Class > Activate Method : Activate(Boolean) Method
True if the General Settings in the Role should be applied to the environment, or False if they should not.
Make this Role the active one. If the loadRoleData argument is True, the General Settings in the Role will be applied to the environment. If False, they will not.
Syntax
public void Activate( 
   System.bool loadRoleData
)

Parameters

loadRoleData
True if the General Settings in the Role should be applied to the environment, or False if they should not.
Example
Set the "ReportUser" Role as the active one, and apply its General Settings to the environment.
api.Roles.GetRole("ReportUser").Activate(true);
See Also

Reference

Role Class
Role Members
Overload List