PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Modifying an existing object on an LDAP server
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
LDAPDeleteAttribute (Function)
In French: LDAPSupprimeAttribut
Deletes an attribute as well as its values.
Example
LDAPStartModify("SessionName")
LDAPDeleteAttribute("SessionName", "AttributeName")
LDAPValidateModify("SessionName", "DN")
Syntax
<Result> = LDAPDeleteAttribute(<Session Name> , <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.
<Session Name>: Character string (with quotes)
Name of LDAP session used.
<Attribute Name>: Character string (with quotes)
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 as follows:
  1. Initializing the modification (LDAPStartModify)
  2. Modification operations:
  3. 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 code line).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
See also
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment