swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   ldapAttributeGetValue   OMDN

Library: omldap - LDAP support
Include: omldap.xin
Return type: String
Returns:       

A stream.


Declaration

  define external stream function ldapAttributeGetValue
               value ldapAttribute attribute
      at       value stream        key-value
      item     value integer       item       optional initial { 1 }
      null     value stream        null       optional initial { "" }
      datatype value integer       datatype   optional initial { LDAP_TEXT }

Where:
attribute


key-value
item
null
datatype

Purpose

This function returns the value of a specified attribute at a specified position for the current entry. The name of this attribute must be placed in the "key-value" parameter and the position must be placed in the "item" parameter.

Example:

     include "omldap.xin"

     process
        local ldapAttribute my-entry variable
        local stream myAttributeValue
        ...
       set myAttributeValue to ldapAttributeGetValue my-attribute
            at   key of my-entry
            item 2

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

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

Generated: August 11, 2000 at 3:07:27 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.