Examples of checkAdminLevel()


Examples of org.apache.openmeetings.data.basic.AuthLevelUtil.checkAdminLevel()

      AuthLevelUtil authLevel = Application.getBean(AuthLevelUtil.class);
      r = new Roles(Roles.USER);
      if (authLevel.checkUserLevel(userLevel)) {
        r.add(Roles.USER);
      }
      if (authLevel.checkAdminLevel(userLevel)) {
        r.add(Roles.ADMIN);
      }
    }
    return r;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.