JAVA/CORBA CLASSES


Examples: Parent property
This agent displays the user name for the parent session.

import lotus.domino.*;
public class JavaAgent extends AgentBase {
 public void NotesMain() {
   try {
     Session session = getSession();
     AgentContext agentContext = session.getAgentContext();
     // (Your code goes here)
     International inat = session.getInternational();
     System.out.println("Parent user name = " +
     inat.getParent().getUserName());
   } catch(Exception e) {
     e.printStackTrace();
   }
 }
}

See Also