QuickBooks/Driver/Sql.php
protected function _authDefault()
	{
		$errnum = 0;
		$errmsg = '';

		if ($arr = $this->_fetch($this->_query("
			SELECT
				qb_username
			FROM
				" . $this->_mapTableName(QUICKBOOKS_DRIVER_SQL_USERTABLE) . "
			WHERE
				status = '" . QUICKBOOKS_USER_ENABLED . "' ", $errnum, $errmsg, 0, 1)))
		{
			return $arr['qb_username'];
		}

		return '';
	}
protected function _authDefault()
	{
		$errnum = 0;
		$errmsg = '';

		if ($arr = $this->_fetch($this->_query("
			SELECT
				qb_username
			FROM
				" . $this->_mapTableName(QUICKBOOKS_DRIVER_SQL_USERTABLE) . "
			WHERE
				status = '" . QUICKBOOKS_USER_ENABLED . "' ", $errnum, $errmsg, 0, 1)))
		{
			return $arr['qb_username'];
		}

		return '';
	}
Get the default user

@return string