Edit

Bagikan melalui


TrustSection.PermissionSetName Property

Definition

Gets or sets the name of the permission set.

public:
 property System::String ^ PermissionSetName { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("permissionSetName", DefaultValue="ASP.Net")]
public string PermissionSetName { get; set; }
[<System.Configuration.ConfigurationProperty("permissionSetName", DefaultValue="ASP.Net")>]
member this.PermissionSetName : string with get, set
Public Property PermissionSetName As String

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