code: def userInvitations(self):
          
          self.__init()
          items = []
          for n in self._userInvitations:
              if "id" in n:
                  url = "%s/%s" % (self.root, n['id'])
                  items.append(self.Invitation(url=url,
                                               securityHandler=self._securityHandler,
                                               proxy_url=self._proxy_url,
                                               proxy_port=self._proxy_port,
                                               initialize=True))
          return items
docs: gets all user invitations