共用方式為


WebRequestHandler.ImpersonationLevel 屬性

定義

取得或設定目前要求的模擬等級。

public:
 property System::Security::Principal::TokenImpersonationLevel ImpersonationLevel { System::Security::Principal::TokenImpersonationLevel get(); void set(System::Security::Principal::TokenImpersonationLevel value); };
public System.Security.Principal.TokenImpersonationLevel ImpersonationLevel { get; set; }
member this.ImpersonationLevel : System.Security.Principal.TokenImpersonationLevel with get, set
Public Property ImpersonationLevel As TokenImpersonationLevel

屬性值

要求的模擬層級。 預設為 Delegation

備註

模擬層級會決定伺服器如何使用客戶端的認證。

適用於