public function filterByApiAuthUser($apiAuthUser = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($apiAuthUser)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $apiAuthUser)) {
                $apiAuthUser = str_replace('*', '%', $apiAuthUser);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteAppPeer::API_AUTH_USER, $apiAuthUser, $comparison);
    }