AuthType 列舉

定義

AuthType 列舉型別 (Enumeration) 用於指定對連接所用的驗證 (Authentication) 方法。

public enum class AuthType
public enum AuthType
type AuthType = 
Public Enum AuthType
繼承
AuthType

欄位

Anonymous 0

表示應該在不傳遞認證的情況下建立連接。 該值等於 0。

Basic 1

表示應該對連接使用基本驗證。 值等於 1。

Digest 4

表示應該對連接使用 Digest Access 驗證。 值等於 4。

Dpa 6

表示應該對連接使用分散式密碼驗證 (Distributed Password Authentication,DPA)。 值等於 6。

External 8

表示將使用外部方法來驗證連接。 值等於 8。

Kerberos 9

表示應該對連接使用 Kerberos 驗證。 值等於 9。

Msn 7

表示是由 "Microsoft Network Authentication Service" 驗證。 值等於 7。

Negotiate 2

表示應該對連接使用 Microsoft Negotiate 驗證。 值等於 2。

Ntlm 3

表示應該對連接使用 Windows NT Challenge/Response (NTLM) 驗證。 值等於 3。

Sicily 5

表示將使用交涉機制 (Sicily) 來選擇 MSN、DPA 或 NTLM。 它應該只用於 LDAPv2 伺服器。 值等於 5。

適用於