swirl
Guide to OmniMark 8   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
   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.