Skip to content

Latest commit

 

History

History
133 lines (82 loc) · 3.69 KB

nf-winldap-ldap_modify_ext_sa.md

File metadata and controls

133 lines (82 loc) · 3.69 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winldap.ldap_modify_ext_sA
ldap_modify_ext_sA function (winldap.h)
The ldap_modify_ext_s function changes an existing entry. (ldap_modify_ext_sA)
ldap.ldap__modify__ext__s
ldap_modify_ext_sA
winldap/ldap_modify_ext_sA
ldap\ldap_modify_ext_s.htm
ldap
d71190d6-4775-4f37-b509-3395a7352272
12/05/2018
_ldap_ldap_modify_ext_s, ldap.ldap__modify__ext__s, ldap.ldap_modify_ext_s, ldap_modify_ext_s, ldap_modify_ext_s function [LDAP], ldap_modify_ext_sA, ldap_modify_ext_sW, winldap/ldap_modify_ext_s, winldap/ldap_modify_ext_sA, winldap/ldap_modify_ext_sW
winldap.h
Windows
Windows Vista
Windows Server 2008
ldap_modify_ext_sW (Unicode) and ldap_modify_ext_sA (ANSI)
Wldap32.lib
Wldap32.dll
Windows
19H1
ldap_modify_ext_sA
winldap/ldap_modify_ext_sA
c++
APIRef
kbSyntax
DllExport
Wldap32.dll
ldap_modify_ext_s
ldap_modify_ext_sA
ldap_modify_ext_sW

ldap_modify_ext_sA function

-description

The ldap_modify_ext_s function changes an existing entry.

-parameters

-param ld [in]

The session handle.

-param dn [in]

A pointer to a null-terminated string that contains the name of the entry to modify.

-param mods [in]

A null-terminated array of modifications to make to the entry.

-param ServerControls [in]

A list of LDAP server controls.

-param ClientControls [in]

A list of client controls.

-returns

If the function succeeds, the return value is LDAP_SUCCESS.

If the function fails, it returns an error code. See Return Values for more information.

-remarks

The ldap_modify_ext_s function initiates a synchronous operation to modify an existing entry. If values are being added or replaced in the entry, the function creates the attribute, if necessary. If values are being deleted, and no values remain, the function removes the attribute. All modifications are performed in the order in which they are listed.

The parameters and effects of ldap_modify_ext_s subsume those of ldap_modify_s. The extended routine includes additional parameters to support client and server controls.

Multithreading: Calls to ldap_modify_ext_s are thread-safe.

-see-also

Extended Controls

Functions

LDAP

LDAPMod

Modifying a Directory Entry

Return Values

Using Controls

ldap_modify

ldap_modify_s

ldap_result