properties.setProperty("j:firstName", "John");
properties.setProperty("j:lastName", "Smoe");
// properties.setProperty("j:email", "johnsmoe@localhost.com");
johnsmoe = userManagerService.createUser("johnsmoe", "johnsmoe", properties);
}
group = groupManagerService.createGroup(site.getID(), "taskUsersGroup", new Properties(), true);
group.addMember(johndoe);
group.addMember(johnsmoe);
// RoleBasedAccessControlService roleService = (RoleBasedAccessControlService) SpringContextSingleton.getInstance().getContext().getBean("org.jahia.services.rbac.jcr.RoleBasedAccessControlService");
// if(roleService!=null){