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

ldapAddEntry

 
 

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

Declaration

  define external function ldapAddEntry
                 value        ldapConnection connection
      name       value stream distinct-name
      attributes modifiable   ldapAttribute  attributes optional
      attribute  remainder    ldapAttribute  attribute optional

Argument definitions

connection
A connection to an LDAP server.
distinct-name
The distinct name of the new entry.
attributes
A shelf of ldapAttribute items and their values.
attribute
A single ldapAttribute and its value. Because this is a remainder argument, it can be repeated as needed.


Purpose

This function adds a directory entry to the LDAP server.

Example:

     include "omldap.xin"

     process
        local ldapAttribute my-entry variable
        ...
        ldapAddEntry my-ldap
            name "cn=Brown,Department=hr,o=OmniMark.com"
           attributes my-entry

        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:26 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.