AuthType Enum

Definition

AuthType 枚举用于指定将在该连接上使用的身份验证方法。The AuthType enumeration is used to specify the authentication method to use on a connection.

public enum class AuthType
public enum AuthType
type AuthType = 
Public Enum AuthType
Inheritance
AuthType

Fields

Anonymous 0

指示应不传递凭据而进行连接。Indicates that the connection should be made without passing credentials. 该值等于 0。The value is equal to 0.

Basic 1

指示应在该连接上使用基本身份验证。Indicates that basic authentication should be used on the connection. 值等于 1。The value is equal to 1.

Digest 4

指示应在该连接上使用简要访问身份验证。Indicates that the Digest Access Authentication should be used on the connection. 值等于 4。The value is equal to 4.

Dpa 6

指示应在该连接上使用分布式密码身份验证 (DPA)。Indicates that Distributed Password Authentication (DPA) should be used on the connection. 值等于 6。The value is equal to 6.

External 8

指示将使用外部方法对该连接进行身份验证。Indicates an external method will be used to authenticate the connection. 值等于 8。The value is equal to 8.

Kerberos 9

指示应在该连接上使用 Kerberos 身份验证。Indicates that Kerberos authentication should be used on the connection. 值等于 9。The value is equal to 9.

Msn 7

指示已使用“Microsoft 网络身份验证服务”对其进行了身份验证。Indicates that it is authenticated by "Microsoft Network Authentication Service". 值等于 7。The value is equal to 7.

Negotiate 2

指示应在该连接上使用 Microsoft 协商身份验证。Indicates that Microsoft Negotiate authentication should be used on the connection. 值等于 2。The value is equal to 2.

Ntlm 3

指示应在该连接上使用 Windows NT 质询/响应 (NTLM) 身份验证。Indicates that Windows NT Challenge/Response (NTLM) authentication should be used on the connection. 值等于 3。The value is equal to 3.

Sicily 5

指示将使用协商机制 (Sicily) 选择 MSN、DPA 或 NTLM。Indicates a negotiation mechanism (Sicily) will be used to choose MSN, DPA or NTLM. 这应该仅用于 LDAPv2 服务器。This should be used for LDAPv2 servers only. 值等于 5。The value is equal to 5.

Applies to