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.
Specifies the options that are used for binding to the server. The application can set multiple options that are linked with a bitwise OR operation.
This enumeration supports a bitwise combination of its member values.
public enum class ContextOptions
[System.Flags] public enum ContextOptions
[<System.Flags>] type ContextOptions =
Public Enum ContextOptions
The client is authenticated by using either Kerberos or NTLM. When the user name and password are not provided, the Account Management API binds to the object by using the security context of the calling thread, which is either the security context of the user account under which the application is running or of the client user account that the calling thread represents.
The data is encrypted by using Kerberos. This flag can only be used with the Negotiate context option and is not available with the simple bind option.
The channel is encrypted by using the Secure Sockets Layer (SSL). Active Directory requires that the Certificate Services be installed to support SSL.
Specify this flag when you use the domain context type if the application is binding to a specific server name.
The integrity of the data is verified. This flag can only be used with the Negotiate context option and is not available with the simple bind option.
The client is authenticated by using the Basic authentication.
Caution: Communications may be sent over the Internet in clear text if the
When the context options are not specified by the application, the Account Management API uses the following combination of options:
- ContextOptions.Negotiate | ContextOptions.Signing | ContextOptions.Sealing