Re: [Zope] How to get authentiedcated user name in pythong method?
look LoginManager.py under Products/LoginManager to look for how it is refered and figure it out? Dirksen wrote: 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 - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
[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 - [EMAIL PROTECTED] 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 )
Re: [Zope] How to get authentiedcated user name in pythong method?
self.REQUEST.AUTHENTICATED_USER.getUserName() - Original Message - From: "Dirksen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] | 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )