WindowsIdentity.AuthenticationType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取用于标识用户的身份验证类型。
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。