[Zope] AUTHENTICATED_USER in ZSQL
Michiel Toneman
toneman@phil.uu.nl
Fri, 18 Feb 2000 16:09:24 +0100 (CET)
On Fri, 18 Feb 2000, Ulrich Wisser wrote:
> Hello,
>
> I tried to use the AUTHENTICATED_USER object in a ZSQL
> method. Like:
>
> INSERT INTO MYTABLE(USER)
> VALUES('<dtml-var "AUTHENTICATED_USER.getName()" sql_quote>')
>
> But Zope tells me that AUTHENTICATD_USER is not known.
> Why that?
>
> Thanks
>
> Ulli
>
Hi Ulli,
I had that problem too. Put AUTHENTICATED_USER in
the "Arguments" field. That should solve it.
Greetings,
Michiel Toneman
--
From a Sun Microsystems bug report (#4102680):
"Workaround: don't pound on the mouse like a wild monkey."