語言

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 有效值,明確表示允許的模仿等級。 預設值為 Identification。

屬性

備註

詳見 TokenImpersonationLevel 列舉說明。

適用於