At the same time , as president of the World Jewish Congress , he helped expose Kurt Waldheim , then the president of Austria and previously the secretary general of the United Nations , as a former Nazi and forced Swiss bankers to return to Holocaust survivors millions of dollars they had held for Europe 's Jews during the war .