docs: def validate_user_data(self, expected, actual, api_version=None):
          """Validate user data.
  
             Validate a list of actual user data vs a list of expected user
             data.
             """
          self.log.debug('Validating user data...')
          self.log.debug('actual: {}'.format(repr(actual)))
          for e in expected:
              found = False
              for act in actual:
                  if e['name'] == act.name:
                      a = {'enabled': act.enabled, 'name': act.name,
                           'email': act.email, 'id': act.id}
                      if api_version == 3:
                          a['default_project_id'] = getattr(act,
                                                            'default_project_id',
                                                            'none')
                      else:
                          a['tenantId'] = act.tenantId
                      found = True
                      ret = self._validate_dict_data(e, a)
                      if ret:
                          return "unexpected user data - {}".format(ret)
              if not found:
                  return "user {} does not exist".format(e['name'])
          return ret