swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   ldapAddEntry   Available in:
Enterprise

Library: omldap - LDAP support
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
  where
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 ] [ OMX ] [ ERRORS ]

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:26 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.