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 / Comunicación / Funciones LDAP
  • Modifying an existing object on an LDAP server
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
LDAPValidateModify (Function)
Validates the modification of an existing object in an LDAP server.
Ejemplo
// Deletes a given value (read on the LDAP server)
// The value to delete is found in the ValueToDelete string
LDAPStartModify("MyLDAPSession")
LDAPDeleteAttributeValue("MyLDAPSession", "AttributeName", ValueToDelete)
LDAPValidateModify("MyLDAPSession", "DN")
Sintaxis
<Result> = LDAPValidateModify(<LDAP session> , <DN of base object>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. ErrorInfo returns more details about the error.
<LDAP session>: Character string
Name of LDAP session used.
<DN of base object>: Character string
Distinguished Name (DN) of object to modify.
Observaciones

Modifying an existing object on an LDAP server

To modify an existing object in an LDAP server, you must define the different modifications to perform.
To optimize object modification speed, modifications are defined locally: a single communication with the server is established when the modification is validated. The steps are:
  1. Start modification (LDAPStartModify)
  2. Modification operations:
  3. Validate modifications on the server (LDAPValidateModify). The modifications are performed on the server according to the order used in the WLanguage code.
Please note As modification operations are performed locally before being transferred to the server, it is essential to respect the logical order of modifications (for example, it will not be possible to modify an attribute deleted by the previous line of code).
Componente: wd300com.dll
Ver también
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

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