The requested page is not available for the requested platform. You are viewing the content for Default platform.

ScriptPermissionManager.GlobalInstance Property

Specifies the script security permission level applied to the application.

Namespace: DevExpress.XtraReports.Security

Assembly: DevExpress.XtraReports.v19.1.dll


public static ScriptPermissionManager GlobalInstance { get; set; }
Public Shared Property GlobalInstance As ScriptPermissionManager

Property Value

Type Description

A ScriptPermissionManager object.


To specify the report script execution mode, register a new instance of the ScriptPermissionManager class at the application startup with the specified 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.Deny);
See Also