AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones del Groupware Usuario
  • Checks
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Informs the User Groupware that the authentication of users will be done via an LDAP directory. The name and password of the users who will connect to User Groupware will be checked in the LDAP directory directly.
Note: This function is not required if LDAP directory use has been set in the user Groupware settings window.. To configure the User Groupware, go to the "Proyecto" tab, "Proyecto" group and click "Groupware Usuario".
Ejemplo
// Groupware utilisateur utilisé en mode automatique 
// Lancement manuel. Pas de fichiers de données. 

// Code du projet
gpwOpenLDAPSession("gemini.monserveur.com", 389, 3, False)

// Identification d'un utilisateur sans fenêtre de login
IF gpwLogin("FP", "FP") <> gpwOk THEN
	Error("Utilisateur ou mot de passe incorrect")
	EndProgram()
END
// Utilisation d'un DN de base 
gpwOpenLDAPSession("monserveur", 389, 3, False, "DC=groupcom,DC=local")
Sintaxis
gpwOpenLDAPSession(<Server address> [, <Port number> [, <Server version> [, <With files> [, <Base DN> [, <Management of SSL>]]]]])
<Server address>: Character string
Address of LDAP server. This parameter can correspond to:
  • server IP address in xxx.xxx.xxx.xxx format
  • Server name
<Port number>: Optional integer
Port number of LDAP server (389 by default).
<Server version>: Optional integer
Version of LDAP server (2 or 3). Corresponds to 3 by default.
<With files>: Optional boolean
  • True (default) to use the data files of groupware,
  • False to perform an LDAP authentication.
<Base DN>: Optional character string
Base DN to use. This parameter is of the form: "DC=xxx, DC=yyy, DC=zzz, ..."..
If this parameter is not specified, it will be automatically sought in the database.
<Management of SSL>: Integer constant (or combination of constants)
Management mode of SSL:
ldapDefaultOption
(Default value)
standard LDAP, without SSL management.
optionSSLLDAP with management of secure SSL connection.
optionSSL + auNegotiateLDAP with management of secure SSL connection and authentication. The connection is established via "Generic Security Services" (GSS) (Snego). The authentication method used is the most appropriate method found in a list of possibles authentications.

Note: The connection mode used must be supported by the LDAP server..
Observaciones

Checks

The checks regarding the connection to the LDAP server, the username and password are performed:
  • during the call to gpwLogin.
  • when validating the login window of the groupware.
Componente: wd300gpu.dll
Versión mínima requerida
  • Versión 12
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local