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

ldapRenameEntry

 
 

Library: LDAP support (OMLDAP) legacy library
Include: omldap.xin

Declaration

  define external function ldapRenameEntry
               value    ldapConnection  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 (the entry name and the path in the directory). For example, you could define distinct-name as 'distinct-name="cn=Louis Lemieux", Department="R and D", o="OmniMark" '.
new-name
The new name of the entry.


Purpose

This function renames an entry name on an LDAP server.

Example:

     include "omldap.xin"

     process
        local ldapConnection my-ldap
        local ldapAttribute my-entry variable
        ...
        ldapRenameEntry my-ldap
           from cn="Margaretha Geertruida Zelle" o="SpyCenter"
           to   cn="Mata Hari" 

        Other Library Functions
   ldap_IsVersionCompatible
   ldap_LibraryVersion
   ldapAddEntry
   ldapAttribute
   ldapAttributeGetValue
   ldapAttributeGetValues
   ldapClose
   ldapConnection
   ldapCreateAttribute
   ldapDeleteEntry
   ldapEntryAdvance
   ldapEntryExists
   ldapEntryGetName
   ldapModifyEntry
   ldapOpen
   ldapRenameEntry
   ldapSearch
 
 

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

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

Copyright © Stilo Corporation, 1988-2005.