lookupUser
This function returns LDAP user information.
:Signature:
ldap:lookupUser('directoryName','userId')
Arguments:
-
directoryName: The directory name specified in thedirectories.xmlfile. For information about thedirectories.xmlfile, see authenticate. -
userId: The user ID to be searched.
Returns:
An XML element that contains the user information.
For this XPath function, all properties must be specified in the directories.xml file.
Example:
ldap:lookupUser('people','ou=people');
The following provides an example of the output:
<user dn="" xmlns="http://schemas.oracle.com/bpel/ldap"> <ou>people</ou> <objectclass>organizationalUnit</objectclass> <objectclass>top</objectclass> <orclguid>8ABB9BA06FDD11DEBF9A7F3D47003274</orclguid> </user>