30 Jan
2007
30 Jan
'07
8:54 p.m.
--On 30. Januar 2007 21:52:52 +0100 Maciej Wisniowski <maciej.wisniowski@coig.katowice.pl> wrote:
I need to modify a Zope product to record the authenticated user executing a method.
How do I refer to the authenticated user ? You may try: self.REQUEST.AUTHENTICATED_USER
nah...don't do that. Use from AccessControl import getSecurityManager user = getSecurityManager().getUser() -aj