|
|
|
|
|
- Modifying an existing object on an LDAP server
LDAPStartModify (Function) In french: LDAPDébutModification Initializes the modification of an existing object in an LDAP server.
LDAPStartModify("MaSessionLDAP")
LDAPDeleteAttributeValue("MaSessionLDAP", "NomAttribut", sValeurASupprimer)
LDAPValidateModify("MaSessionLDAP", "DN")
Syntax
LDAPStartModify(<LDAP session>)
<LDAP session>: Character string Name of LDAP session used. Remarks Modifying an existing object on an LDAP server To modify an existing object in an LDAP server, you must define the different modifications to perform. To optimize object modification speed, modifications are defined locally: a single communication with the server is established when the modification is validated. The steps are: - Initialize the modification (LDAPStartModify).
- Modification operations:
- Validate the modifications on the server (LDAPValidateModify). The modifications are performed on the server according to the order used in the WLanguage code.
Please note As modification operations are performed locally before being transferred to the server, it is essential to respect the logical order of modifications (for example, it will not be possible to modify an attribute deleted by the previous line of code).
Related Examples:
|
Unit examples (WINDEV): The LDAP functions
[ + ] Using the WLanguage LDAP functions. These functions are used to interact with the LDAP data, to view the content of any LDAP directory and to modify the LDAP data: LDAPConnect, LDAPListChildren, LDAPAdAttribute, LDAPDeleteAttributeValue, ...
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|