I found the solution. Invoking the iterator() on Attribute gives all the values.

On Wednesday 04 March 2015 06:01 PM, Syed Mudassir wrote:
Hi.
I am using apache directory api in my java program to interact with ldap server.
  Upon performing successful search,  I am able to get the Entry object.
But the Entry object has a method getAttributes() which will return a collection of Attribute. If an Attribute contains multiple values, how can I fetch all those values? Presently, I see only method get() which will fetch just the first value.
--

Reply via email to