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
LDAPListChildren (Function)
In french: LDAPListeFils
Lists the children of an object in an LDAP server.
// Find the child elements
sListChildren is string
sListChildren = LDAPListChildren("MySession", "DC=pcs,DC=local")
Syntax
<Result> = LDAPListChildren(<LDAP session> , <DN of base object>)
<Result>: Character string
  • List of distinguished names (DN) for the objects found,
  • empty string ("") if no child is associated with the object.
The different elements are separated by "CR" characters (Carriage Return).
If an error occurred, <Result> corresponds to an empty string ("") and the ErrorOccurred variable is set to True. ErrorInfo returns more details about the error.
Caution:
  • If the size of <Result> exceeds 2 GB, <Result> will be truncated to 2 GB.
  • Depending on the LDAP policies defined in Active Directory, the import can be limited to 1,000 users. In this case, to remove this limitation, it is necessary to modify the LDAP MaxPageSize parameter. See https://support.microsoft.com/kb/315071 for more details.
<LDAP session>: Character string (with quotes)
Name of LDAP session used.
<DN of base object>: Character string (with quotes)
Distinguished Name (DN) of object whose child elements are sought.
Component : wd250com.dll
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment