Skip to main content
A newer version of this page is available. .

ScriptSecurityPermission.Deny Property

Gets or sets a value indicating if this permission denies or permits the corresponding scripts to run.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[DefaultValue(true)]
public bool Deny { get; set; }

Property Value

Type Default Description
Boolean **true**

true if scripts are denied; otherwise, false.

Remarks

The Deny property specifies whether the scripts corresponding to this ScriptSecurityPermission object are allowed or denied.

For instance, if the ScriptSecurityPermission.Name property is “System.Security.Permissions.FileIOPermission”, and the Deny property is set to false, then all the file operations will be allowed, and to deny them you should set the Deny property value to true.

Example

See Also