Skip to main content

ScriptSecurityPermission.Name Property

Gets or sets the name of the security permission.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public string Name { get; set; }

Property Value

Type Description
String

A String representing the name of the security permission.

Remarks

Use the Name property to specify what permission will be applied to a report’s scripts. By default at design time you can specify any of the security permissions listed below.

  • System.Security.Permissions.EnvironmentPermission
  • System.Security.Permissions.FileDialogPermission
  • System.Security.Permissions.FileIOPermission
  • System.Security.Permissions.IsolatedStoragePermission
  • System.Security.Permissions.PublisherIdentityPermission
  • System.Security.Permissions.ReflectionPermission
  • System.Security.Permissions.RegistryPermission
  • System.Security.Permissions.SecurityPermission
  • System.Security.Permissions.SiteIdentityPermission
  • System.Security.Permissions.StrongNameIdentityPermission
  • System.Security.Permissions.UIPermission
  • System.Security.Permissions.UrlIdentityPermission
  • System.Security.Permissions.ZoneIdentityPermission

Note

You can add any security permission which is the descendant of the CodeAccessPermission class, or inherit from this class and implement your own security permission. In this case the dll which contains this security permission should be added to the References list of your application.

See Also