Editar

Partilhar via


WindowsClientElement.AllowedImpersonationLevel Property

Definition

Gets or sets the permissible impersonation level.

public:
 property System::Security::Principal::TokenImpersonationLevel AllowedImpersonationLevel { System::Security::Principal::TokenImpersonationLevel get(); void set(System::Security::Principal::TokenImpersonationLevel value); };
[System.Configuration.ConfigurationProperty("allowedImpersonationLevel", DefaultValue=System.Security.Principal.TokenImpersonationLevel.Identification)]
public System.Security.Principal.TokenImpersonationLevel AllowedImpersonationLevel { get; set; }
[<System.Configuration.ConfigurationProperty("allowedImpersonationLevel", DefaultValue=System.Security.Principal.TokenImpersonationLevel.Identification)>]
member this.AllowedImpersonationLevel : System.Security.Principal.TokenImpersonationLevel with get, set
Public Property AllowedImpersonationLevel As TokenImpersonationLevel

Property Value

A valid TokenImpersonationLevel value that specifies the permissible impersonation level. The default is Identification.

Attributes

Remarks

See TokenImpersonationLevel for a description of the enumeration.

Applies to