ER: [Zope] Obtaining the name of the authenticated user fromwithina product's source code

Dieter Maurer dieter@handshake.de
Tue, 25 Feb 2003 23:34:46 +0100


Igor Leturia wrote at 2003-2-25 11:55 +0100:
 > That may be the problem, as I'm trying to do it in the _init_ .
 > 
 > So what can I do to fix it?

   from AccessControl import getSecurityManager

   ....
   getSecurityManager().getUser().getUserName()


Dieter