swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

ldap.rename-entry

 
 

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

Declaration

  define external function ldap.rename-entry
         in    value    ldap.connection  connection
         from  value    stream           distinct-name
         to    value    stream           new-name

Argument definitions

connection
A connection to an LDAP server.
distinct-name
The current distinct name of the entry.
new-name
The new distinct name of the entry.


Purpose

This function renames an entry name on 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.rename-entry in my-ldap
        from 'cn="Margaretha Geertruida Zelle" o="SpyCenter"'
        to   'cn="Mata Hari"'

        Other Library Functions
   ldap.add-entry
   ldap.advance-entry
   ldap.attribute
   ldap.close
   ldap.connection
   ldap.create-attribute
   ldap.delete-entry
   ldap.entry-exists
   ldap.entry-name
   ldap.modify-entry
   ldap.name
   ldap.omldap-version
   ldap.open
   ldap.reader
   ldap.rename-entry
   ldap.retrieve-values
   ldap.search
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:26 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.