[Zope] How to get authentiedcated user name in pythong method?

Phil Harris phil.harris@zope.co.uk
Thu, 23 Nov 2000 02:06:13 -0000


self.REQUEST.AUTHENTICATED_USER.getUserName()


----- Original Message -----
From: "Dirksen" <dirksen_lau@yahoo.com>
To: <zope@zope.org>
Sent: Thursday, November 23, 2000 1:33 AM
Subject: [Zope] How to get authentiedcated user name in pythong method?


| How can I do that just as <dtml-var "AUTHENTICATED_USER.getUserName()"> in
dtml? I don't
| want to pass AUTHENTICATED_user as a parameter. A hint please.
|
| cheers
| Dirksen
|
| __________________________________________________
| Do You Yahoo!?
| Yahoo! Shopping - Thousands of Stores. Millions of Products.
| http://shopping.yahoo.com/
|
| _______________________________________________
| Zope maillist  -  Zope@zope.org
| http://lists.zope.org/mailman/listinfo/zope
| **   No cross posts or HTML encoding!  **
| (Related lists -
|  http://lists.zope.org/mailman/listinfo/zope-announce
|  http://lists.zope.org/mailman/listinfo/zope-dev )