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

ldapAttributeGetValues

 
 

Library: LDAP support (OMLDAP legacy)
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
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.