docs: def setGroups(self, *args, **kwargs):
          """Adds the groups assigned to this user to a 'groups' field.
  
          Returns the number of requests done to Mambu.
          """
          try:
              groups = self.mambugroupsclass(creditOfficerUsername=self['username'], *args, **kwargs)
          except AttributeError as ae:
              from .mambugroup import MambuGroups
              self.mambugroupsclass = MambuGroups
              groups = self.mambugroupsclass(creditOfficerUsername=self['username'], *args, **kwargs)
          self['groups'] = groups
  
          return 1