HttpDigestClientElement.ImpersonationLevel 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定用戶端用來與伺服器通訊的模擬偏好。
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。
- 屬性
備註
用戶端選擇的模擬模式不會在伺服器上強制執行。