Share via


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 值。 預設為 Identification

屬性

備註

用戶端選擇的模擬模式不會在伺服器上強制使用。

適用於