entity = (Entity) groups.iterator().next();
} else if ( (term.startsWith("member("))
&& (term.endsWith(")")) ) {
String role = term.substring(7,term.length()-1).trim();
Group group = (Group) entity;
entity = expressionSession.getUserByGroupAndRole(group.getName(), role);
if (entity==null) {
throw new ExpressionAssignmentException("no users in role '"+role+"'");
}
} else {