public GenericFeed retrieveGroups(String memberName,boolean directOnly) throws AppsForYourDomainException, MalformedURLException, IOException, ServiceException {
  return getFeed(new URL(baseDomainUrl + "?member=" + memberName+ "&directOnly="+ String.valueOf(directOnly)),GenericFeed.class);
}

public GenericFeed retrieveGroups ( String memberName , boolean directOnly ) throws AppsForYourDomainException , MalformedURLException , IOException , ServiceException { return getFeed ( new URL ( baseDomainUrl + "?member=" + memberName + "&directOnly=" + String . valueOf ( directOnly ) ) , GenericFeed . class ) ; }
retrieves all groups of the given member .
