Package lotus.notes.addins

Examples of lotus.notes.addins.DominoServer


  @Override
  @SuppressWarnings("unchecked")
  public Collection<String> getGroups(final String serverName) {
    Collection<String> result = null;
    try {
      DominoServer server = new DominoServer(serverName);
      result = server.getNamesList(getCanonical());
    } catch (NotesException e) {
      DominoUtils.handleException(e);
    }
    return result;
  }
View Full Code Here


   */
  private boolean canReadLogs(final lotus.domino.Session session) {
    boolean result = false;
    try {
      String username = session.getEffectiveUserName();
      DominoServer server = new DominoServer();
      result = server.checkServerAccess(username, ServerAccess.PROG_UNRESTRICTED);
      result = result || server.checkServerAccess(username, ServerAccess.VIEW_ONLY_ADMIN);
    } catch (NotesException ne) {
      ne.printStackTrace();
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of lotus.notes.addins.DominoServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.