ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / User Groupware functions
  • Caution
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
gpwImportLDAPUsers (Function)
In french: gpwImportUtilisateursLDAP
Imports users from an LDAP directory to the user file of the User Groupware.
Note You need to open an LDAP session for user groupware before using this feature (function gpwOpenLDAPSession).
Example
// Groupware utilisateur utilisé en mode automatique
// Code du projet
gpwOpenLDAPSession("gemini.monserveur.com", 389, 3, True)

// Importation des utilisateurs
gpwImportLDAPUsers()
Syntax
<Result> = gpwImportLDAPUsers()
<Result>: Boolean
  • True if the import was performed,
  • False otherwise.
Linux <Result> is always set to False.
Remarks

Caution

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.
Component: wd300gpu.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help