directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merve Temizer <mervet2...@gmail.com>
Subject Getting Parent Dn
Date Thu, 06 Sep 2012 09:34:25 GMT
Hi,
I use JNDI and i have some search result entries and i can get their dn s
like

NamingEnumeration answer = ctx.search(searchBaseDn, filter, ctls);
       try
     {
         while (answer.hasMore())
         {
     SearchResult sr = (SearchResult) answer.next();
     OrganizationPojo organizationPojo = new OrganizationPojo();
     organizationPojo.setDn((String)sr.getName());
...

How can i get parent entry/dn ?

Mime
View raw message