TrustSection.PermissionSetName Property

Definition

Gets or sets the name of the permission set.

C#
[System.Configuration.ConfigurationProperty("permissionSetName", DefaultValue="ASP.Net")]
public string PermissionSetName { get; set; }

Property Value

The name of the permission set.

Attributes

Remarks

The PermissionSetName property enables you to define in a partial trust configuration file the named permission set that is used during the initialization of an application domain.

By default, the PermissionSetName property is "ASP.Net" This is the name of the permission set that is used to initialize the application domain.

This attribute cannot be set to an empty string or a null value.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1