File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Question on JNDI SearchResult.getName() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Question on JNDI SearchResult.getName()" Watch "Question on JNDI SearchResult.getName()" New topic
Author

Question on JNDI SearchResult.getName()

jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
I have the following code:

And later I get a SearchResult from results, and call getName() on it. Will this return the id that I searched for in the context, or will this return sAMAccountName, since that is the name of the binding (I believe it is, anyways)?
Thanks!
Jason
 
 
subject: Question on JNDI SearchResult.getName()
 
Threads others viewed
return false or raise exception?
Problem with Return type for LDAP Search
How to get list of user groups of active directory?
Tomcat Realm JNDI problem
hi
IntelliJ Java IDE