WindowsIdentity.AuthenticationType 属性

定义

获取用于标识用户的身份验证的类型。

public:
 property System::String ^ AuthenticationType { System::String ^ get(); };
public:
 virtual property System::String ^ AuthenticationType { System::String ^ get(); };
public override sealed string AuthenticationType { get; }
public override sealed string? AuthenticationType { get; }
public virtual string AuthenticationType { get; }
public string AuthenticationType { get; }
member this.AuthenticationType : string
Public Overrides NotOverridable ReadOnly Property AuthenticationType As String
Public Overridable ReadOnly Property AuthenticationType As String
Public ReadOnly Property AuthenticationType As String

属性值

用于标识用户的身份验证的类型。

实现

例外

Windows 返回 Windows NT 状态代码 STATUS_ACCESS_DENIED。

没有足够的可用内存。

调用方没有正确的权限。

- 或 -

计算机未连接到 Windows 2003 或更高版本的域。

- 或 -

计算机没有运行 Windows 2003 或更高版本。

- 或 -

用户不是计算机所连接域的成员。

注解

此属性是信息性的;安全系统不使用它。 在 Windows Vista 和更高版本的 Windows 操作系统上,此属性的默认值为 Negotiate,它根据客户配置的安全策略选择最佳安全支持提供程序 (SSP) 。 早期版本的 Windows 操作系统的默认属性值为 Kerberos

适用于