ScriptPermissionManager.ScriptExecutionMode Property
Specifies the report script execution mode.
Namespace: DevExpress.XtraReports.Security
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
public ExecutionMode ScriptExecutionMode { get; }
#Property Value
Type | Description |
---|---|
Execution |
An Execution |
Available values:
Name | Description |
---|---|
Deny | Denies the execution of any scripts and disables the capability to invoke the Scripts editor in the Report Designer (by removing the Scripts toolbar button, along with a section listing script events of a control in the Properties window). |
Unrestricted | Enables the execution of any script at your own risk. |
Restricted | Obsolete. Enables the execution of scripts under the specified restrictions. To apply restrictions, it is required to enable the CAS policy option in the application’s configuration file. |
#Remarks
See Scripts - Security Considerations for more information.