PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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(<LDAP session> , <DN of base object>)
<Result>: Boolean
  • True if the deletion was performed,
  • False otherwise. ErrorInfo returns more details about the error.
<LDAP session>: Character string (with quotes)
Name of LDAP session used.
<DN of base object>: Character string (with quotes)
Distinguished Name (DN) of the object to delete
Component : wd250com.dll
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment