HttpDigestClientElement.ImpersonationLevel 属性

定义

获取或设置客户端用于与服务器进行通信的模拟首选项。

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

属性值

TokenImpersonationLevel

一个有效的 TokenImpersonationLevel 值。 默认值为 Identification

属性

注解

服务器上不强制使用客户端所选择的模拟模式。

适用于