ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / LDAP functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 occurs, <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. For more details, see https://support.microsoft.com/kb/315071.
<LDAP session>: Character string
Name of LDAP session used.
<DN of base object>: Character string
Distinguished Name (DN) of object whose child elements are sought.
Component: wd290com.dll
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help