Package lotus.domino

Examples of lotus.domino.ACL


  @SuppressWarnings("unchecked")
  private List<String> getUserRoles(String user) {
    List<String> roles = null;
    Database db = ExtLibUtil.getCurrentDatabase();
    try {
      ACL acl = db.getACL();
      if (acl != null) {
        ACLEntry entry = acl.getEntry(user);
        if (entry != null) {
          roles = (List<String>)entry.getRoles();
          entry.recycle();
        }
        acl.recycle();
      }
    }
    catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of lotus.domino.ACL

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.