Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure represents an LDAP session. Typically, a session corresponds to a connection to a single server. However, in the case of referrals (beginning with LDAP 3), an LDAP session may encompass several server connections.

Syntax

typedef ldap LDAP, *PLDAP;

Members

None.

Remarks

Call ldap_get_optionor ldap_set_optionto access or change the values in this structure.

An LDAP structure is an opaque data type that is allocated and initialized by a call to ldap_init, cldap_open, or ldap_open. Subsequent LDAP calls pass a handle to this structure, which maintains the state of an LDAP session for the duration of the connection. When the session ends, call ldap_unbindto destroy the connection handle.

Requirements

Header winldap.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also