ScriptPermissionManager.GlobalInstance Property

Specifies the script security permission level applied to the application.

Namespace: DevExpress.XtraReports.Security

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public static ScriptPermissionManager GlobalInstance { get; set; }

Returns

Type Description
ScriptPermissionManager

A ScriptPermissionManager object.

To enable the execution of report scripts in a web application, register a new instance of the ScriptPermissionManager class at the application startup with the specified script execution mode and assign it to the ScriptPermissionManager.GlobalInstance property.

using DevExpress.XtraReports.Security;
using System;
// ...

protected void Application_Start(object sender, EventArgs e) {
    ScriptPermissionManager.GlobalInstance = new ScriptPermissionManager(ExecutionMode.Restricted);
}

See Also