Manage Learn to apply best practices and optimize your operations.

Undocumented Notes NAB utility Java Class

Get a server, person, or mail-in document in the server addressbooks using an undocumented java class in an agent.

Here's an easy way of getting a server, person, or mail-in document in the server addressbooks using an undocumented Java class in an agent. It would be cool if this was included in the future releases. The search is very flexible that if you search for a person in the NAB, you can pass the name in multiple ways (last first, last only provding last is unique, first last, first mi last,etc) and it still would yield good results. I tried using it on a Web app and it has a very fast response to the query plus I didn't need to code that much for it. Here are the details:


Method detail:
    public static Document getFirstDocumentFromAddressBook(Session session, 
int i, String s) throws NotesException Session - NotesSession object i - Search Type where static constants: SERVER_RECORD PERSON_RECORD MAIL_IN_RECORD s - User common name Session session = getSession(); NABUtils nab = new NABUtils(); Document doc = nab.getFirstDocumentFromAddressBook

Dig Deeper on Domino Resources

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...