30 Jan
2007
30 Jan
'07
4:55 p.m.
Hello, I need to modify a Zope product to record the authenticated user executing a method. How do I refer to the authenticated user ? Regards, Danny
8:54 p.m.
New subject: [Zope] Referencing authenticated user
--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
7005
Age (days ago)
7005
Last active (days ago)
2 comments
3 participants
participants (3)
-
Andreas Jung -
Maciej Wisniowski -
Sinang, Danny