public function getAdAccounts()
    {
        //Authentication
        $data = array(
            'username' => AD_BULK_IMPORT_USER,
            'password' => AD_BULK_IMPORT_PASSWORD
        );

        //Fetch index
        $index = $this->curl->request('POST', rtrim(AD_INTEGRATION_URL, "/") . '/user/index', $data, 'json',
            array('Content-Type: application/json'));

        //Validate json response
        if ($this->response::isJsonError($index) || !json_decode($index)) {
            return false;
        }

        //Check that no errors occured
        if (json_last_error() != JSON_ERROR_NONE) {
            error_log("Ad integration: Could not read index due to the fact that the response wasen't a valid json string.");
            exit;
        }

        //Return
        return array_map('strtolower', json_decode($index));
    }