|
|
|
|
- Modifying an existing object on an LDAP server
LDAPDeleteAttribute (Function) In french: LDAPSupprimeAttribut Deletes an attribute as well as its values. LDAPStartModify("SessionName") LDAPDeleteAttribute("SessionName", "AttributeName") LDAPValidateModify("SessionName", "DN")
Syntax
<Result> = LDAPDeleteAttribute(<LDAP session> , <Attribute name>)
<Result>: Boolean - True if the deletion was performed,
- False otherwise. ErrorInfo returns more details about the error.
The deletion will be performed during the call to LDAPValidateModify.
<LDAP session>: Character string Name of LDAP session used. <Attribute name>: Character string Name of attribute to delete. 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 the modification speed of objects, the modifications are defined locally: a single communication is established with the server when validating the modification. The steps are: - Start 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.
Caution: These operations being performed locally then on the server, the logical order of the modifications must be respected (you cannot for example modify an attribute that was already deleted by the previous line of code).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|