[Zope] authenticated_user in Z SQL method not defined
chris-zopemailing at gmx.de
Sat Oct 18 16:32:00 EDT 2003
"SecurityGetUser()" was the hint I needed.
Thanx a lot!
Though I dont't know, why AUTHENTICATED_USER is not available in the
context of an ZSQL-method since it is a method of
the Zope-defined web request variables:
An object that represents an authenticated user. When inserted into
a DTML document, the value is the user name. This object currently
provides no public attributes. Note that this variable may not be
defined in Documents that are not protected by security information. """
which (I thought) is vailable in this context. Obviously I am wrong.
More information about the Zope