Script functions reference > Script functions in alphabetical order > L > LdapGetEntry

LdapGetEntry
Syntax
LdapGetEntry(resultID, entryNumber);
resultID 
entryNumber
The number of the entry in the result set to be retrieved. Note that indexing is 0 based, i.e. entryNumber 0 is the first entry in the result set, entryNumber 1 is the second entry, etc.
Description
Retrieves a specific entry from a result set (the result of a query).
Returns
entryID
The function call returns the entryID of the string found.
The entryID can be used with subsequent calls to access its attributes.
""
Example
$theuser=ldapGetEntry($theuserlist, 0);
In this example, the value of the first entry (index 0) in theuserlist is assigned to theuser variable.
OpenText StreamServe 5.6 Updated: 2013-03-01