Constructs a UserAutocomplete object.
\Drupal\Core\Database\Connection $connection: The database connection to query for the user names.
\Drupal\Core\Config\ConfigFactory $config_factory: The config factory.
public function __construct(Connection $connection, ConfigFactory $config_factory) {
$this->connection = $connection;
$this->configFactory = $config_factory;
}