Editar

Partilhar via


HttpDigestClientElement.ImpersonationLevel Property

Definition

Gets or sets the impersonation preference that the client uses to communicate to the server.

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

Property Value

A valid TokenImpersonationLevel value. The default is Identification.

Attributes

Remarks

The impersonation mode that the client chooses is not enforced on the server.

Applies to