WebRequest.ImpersonationLevel 屬性

定義

取得或設定目前要求的模擬等級。Gets or sets the impersonation level for the current request.

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

屬性值

TokenImpersonationLevel

TokenImpersonationLevel 值。A TokenImpersonationLevel value.

備註

模擬層級會決定伺服器如何使用用戶端的認證。The impersonation level determines how the server can use the client's credentials.

適用於