Share via


ldap_get_option

This function retrieves the current values of session-wide parameters.

ULONG ldap_get_option(
  LDAP* ld,
  int option,
  void* outvalue
);

Parameters

  • ld
    [in] Session handle.
  • option
    [in] Name of the option being accessed.
  • outvalue
    [out] Address of the session-option value. The actual type of this parameter depends on the setting of the option parameter. For more information, see Session Options.

Return Values

If this function succeeds, the return value is LDAP_SUCCESS.

If this function fails, it returns an error code. See the LDAP_RETCODE enumeration for a list of possible return values.

Remarks

In a multithreading environment, calls to this function are thread-safe.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winldap.h.
Link Library: Wldap32.lib.

See Also

LDAP_RETCODE | ldap_set_option

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.