docs: def getGroupContent(self, groupName, onlyInOrg=False, onlyInUser=False):
          """Gets all the content from a group.
          
          Args:
              groupName (str): The name of the group from which to get items.
              onlyInOrg (bool): A boolean value to only return content belonging to the current org.
                  Defaults to ``False``.
              onlyInUser (bool): A boolean value to only return content belonging to the current user
                  credentials. Defaults to ``False``.
          Returns:
              list: A list of content belonging to the group.        
          See Also:
              :py:func:`getGroupContentItems` for retrieving only items.
              
          """
          admin = None
          groups = None
          q = None
          results = None
          res = None
          try:
              admin = arcrest.manageorg.Administration(securityHandler=self._securityHandler)
  
              groups = admin.community.groups
              q = groupName
              #if onlyInOrg is True:
                  #q += " orgid: %s" % admin.portals.portalSelf.id
              if onlyInUser is True:
                  q += " owner: %s" % self._securityHandler.username
              results = groups.search(q = q)
              if 'total' in results and 'results' in results:
                  if results['total'] > 0:
                      for res in results['results']:
                          group = admin.content.group(groupId=res['id'])
                          return group.items
  
              return None
          except:
              line, filename, synerror = trace()
              raise common.ArcRestHelperError({
                          "function": "getGroupContent",
                          "line": line,
                          "filename":  filename,
                          "synerror": synerror,
                                          }
                                          )
          finally:
              admin = None
              groups = None
              q = None
              results = None
              res = None
  
              del admin
              del groups
              del q
              del results
              del res
  
              gc.collect()