PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Caution
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
gpwImportLDAPUsers (Function)
In french: gpwImportUtilisateursLDAP
Imports the users stored in a LDAP directory into the user file of user groupware.
Note: You must start a LDAP session for the user groupware before using this feature (gpwOpenLDAPSession).
Example
// User groupware used in automatic mode
// Code of project
gpwOpenLDAPSession("gemini.myserver.com", 389, 3, True)

// Import the users
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. See https://support.microsoft.com/kb/315071 for more details.
Component : wd240gpu.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment