swirl
Guide to OmniMark 8   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 string 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
   ldapAddEntry
   ldapAttribute
   ldapAttributeGetValue
   ldapAttributeGetValues
   ldapClose
   ldapConnection
   ldapCreateAttribute
   ldapDeleteEntry
   ldapEntryAdvance
   ldapEntryExists
   ldapEntryGetName
   ldapModifyEntry
   ldapOpen
   ldapRenameEntry
   ldapSearch
   ldap_IsVersionCompatible
   ldap_LibraryVersion
 
 

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

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.