共用方式為


WindowsClientElement.AllowedImpersonationLevel 屬性

定義

取得或設定可允許的模擬等級。

public:
 property System::Security::Principal::TokenImpersonationLevel AllowedImpersonationLevel { System::Security::Principal::TokenImpersonationLevel get(); void set(System::Security::Principal::TokenImpersonationLevel value); };
[System.Configuration.ConfigurationProperty("allowedImpersonationLevel", DefaultValue=System.Security.Principal.TokenImpersonationLevel.Identification)]
public System.Security.Principal.TokenImpersonationLevel AllowedImpersonationLevel { get; set; }
[<System.Configuration.ConfigurationProperty("allowedImpersonationLevel", DefaultValue=System.Security.Principal.TokenImpersonationLevel.Identification)>]
member this.AllowedImpersonationLevel : System.Security.Principal.TokenImpersonationLevel with get, set
Public Property AllowedImpersonationLevel As TokenImpersonationLevel

屬性值

TokenImpersonationLevel

有效的 TokenImpersonationLevel 值,指定可允許的模擬等級。 預設為 Identification

屬性

備註

如需列舉型別 (Enumeration) 的說明,請參閱 TokenImpersonationLevel

適用於