static function AjaxUrl(ModuleBase $module, array $args = array())
    {
        $allArgs = array('module'=> ClassFinder::ModuleType($module)) + $args;
        $guard = new UserGuard();
        $user = $guard->GetUser();
        if (!$user)
        {
            throw new \Exception('Security breach on ajax url: no backend user logged in');
        }
        $allArgs['__backendUser'] = $user->GetID();
        return 'ajax.php?' . http_build_query($allArgs);
    }