code: def __get_users(self):  # pragma: no cover
          
          filter = ['(objectclass=posixAccount)']
          results = self.client.search(filter, ['uid'])
          for result in results:
              yield result.uid.value
docs: Get user list.