JAVA/CORBA CLASSES
import lotus.domino.*; import java.util.Vector; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); // (Your code goes here) Database db = agentContext.getCurrentDatabase(); Vector log = db.getACLActivityLog(); System.out.println("Activity log"); for (int i = 0; i < log.size(); i++) { String entry = (String)log.elementAt(0); System.out.println("\t" + entry); } } catch(Exception e) { e.printStackTrace(); } } }
See Also