msgProperties.setProperty("courseCountAll", String.valueOf(allCourses));
msgProperties.setProperty("courseCountPublished", String.valueOf(publishedCourses));
// User counts
Manager secMgr = ManagerFactory.getManager();
SecurityGroup olatuserGroup = secMgr.findSecurityGroupByName(Constants.GROUP_OLATUSERS);
int users = secMgr.countIdentitiesOfSecurityGroup(olatuserGroup);
int disabled = secMgr.getIdentitiesByPowerSearch(null, null, true, null, null, null, null, null, Identity.STATUS_LOGIN_DENIED)
.size();
msgProperties.setProperty("usersEnabled", String.valueOf(users - disabled));
PermissionOnResourceable[] permissions = { new PermissionOnResourceable(Constants.PERMISSION_HASROLE, Constants.ORESOURCE_AUTHOR) };