TrustSection.PermissionSetName Property

.NET Framework (current version)
 

Gets or sets the name of the permission set.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("permissionSetName", DefaultValue = "ASP.Net")]
public string PermissionSetName { get; set; }

Property Value

Type: System.String

The name of the permission set.

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.

.NET Framework
Available since 4.0
Return to top
Show: