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

ldapAttributeGetValues

 
 

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

Declaration

  define external function ldapAttributeGetValues
               value      ldapAttribute entry
      at       value      stream        key-value
      into     modifiable stream        values
      datatype value      integer       datatype optional initial { LDAP_TEXT }

Argument definitions

entry
An ldapAttribute containing the current entry.
key-value
The name of the requested attribute.
values
A shelf of values returned for the requested attribute.
datatype
The type of the requested attribute values. The default is LDAP_TEXT; the other option is LDAP_BINARY.


Purpose

This function retrieves the values of the specified attribute of the current entry. These values are placed in the shelf of streams named "values".

Example:

     include "omldap.xin"

     process
        local ldapAttribute my-entry variable
        ...
     ; get attribute values
        ldapAttributeGetValues my-entry
     	  at   key of my-entry
        	  into attribute-values

        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.