PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
LDAPDelete (Function)
In French: LDAPSupprime
Deletes an object from the LDAP server. For security reasons, the object will be deleted only if it has no child element.
Example
// Delete the user named Bob
IF LDAPDelete("MySession", "CN=Bob, CN=Users, DC=pcsoft, DC=local") = False THEN
Error("Error while deleting Bob")
END
Syntax
<Result> = LDAPDelete(<Session Name> , <DN of Base Object>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. ErrorInfo returns more details about the error.
<Session Name>: Character string (with quotes)
Name of the LDAP session used.
<DN of Base Object>: Character string (with quotes)
Distinguished Name (DN) of the object to delete
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