|
|||||
|
||||||
Other Library Functions |
function |
ldapAttributeGetValue |
Library: LDAP support (OMLDAP) legacy library
Include: omldap.xin |
Return type: String Returns: A stream. |
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 }
Argument definitions
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