AuthType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Fields
Anonymous | 0 | Indicates that the connection should be made without passing credentials. The value is equal to 0. |
Basic | 1 | Indicates that basic authentication should be used on the connection. The value is equal to 1. |
Digest | 4 | Indicates that the Digest Access Authentication should be used on the connection. The value is equal to 4. |
Dpa | 6 | Indicates that Distributed Password Authentication (DPA) should be used on the connection. The value is equal to 6. |
External | 8 | Indicates an external method will be used to authenticate the connection. The value is equal to 8. |
Kerberos | 9 | Indicates that Kerberos authentication should be used on the connection. The value is equal to 9. |
Msn | 7 | Indicates that it is authenticated by "Microsoft Network Authentication Service". The value is equal to 7. |
Negotiate | 2 | Indicates that Microsoft Negotiate authentication should be used on the connection. The value is equal to 2. |
Ntlm | 3 | Indicates that Windows NT Challenge/Response (NTLM) authentication should be used on the connection. The value is equal to 3. |
Sicily | 5 | Indicates a negotiation mechanism (Sicily) will be used to choose MSN, DPA or NTLM. This should be used for LDAPv2 servers only. The value is equal to 5. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應