code: public static List<CmsUser> filterCoreUsers(List<CmsUser> users) {
  
          Iterator<CmsUser> it = users.iterator();
          while (it.hasNext()) {
              I_CmsPrincipal p = it.next();
              if (p.getFlags() > I_CmsPrincipal.FLAG_CORE_LIMIT) {
                  it.remove();
              }
          }
          return users;
      }
docs: Filters out all users with flags greater than <code>{@link I_CmsPrincipal#FLAG_CORE_LIMIT}</code>.<p>
  
  The given parameter list is directly modified, so the returned list is the same object as the input list.<p>
  
  @param users a list of <code>{@link CmsUser}</code> objects
  
  @return the filtered principal list