ldap.delete-entry

function

Library: LDAP support (OMLDAP)
Import : omldap.xmd

Declaration
define function delete-entry
   from    value  connection   this-connection
   named   value  string       distinct-name

Argument definitions

this-connection
A connection to an LDAP server.
distinct-name
The distinct name of the entry to delete.


Purpose

This function removes an entry from an LDAP server.

Example:

  import "omldap.xmd" prefixed by ldap.
  
  process
     local ldap.connection my-ldap
  
     set my-ldap to ldap.open 'www.stilo.com'
  
     ldap.delete-entry from my-ldap
        named 'cn="Margaretha Geertruida Zelle" o="SpyCenter"'