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

适用于