Examples: Parent property (International - Java™)
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();
}
}
}