GenericValue member = null;
try {
member = delegator.findByPrimaryKey(org.ofbiz.shark.SharkConstants.SharkGroupMember, UtilMisc.toMap(org.ofbiz.shark.SharkConstants.groupName, groupName, org.ofbiz.shark.SharkConstants.userName, username));
} catch (GenericEntityException e) {
Debug.logError(e, module);
throw new RootException(e);
}
return member;
}