[Zope] How to get the current logged on user?
Chris Beaven
Chris@d-designz.co.nz
Tue, 24 Sep 2002 13:52:24 +1200
Hi Zachary,
It's mentioned in The Zope Book under the Users and Security chapter.
<dtml-var expr="_.SecurityGetUser().getUserName()">
The _.SecurityGetUser() safely calls the getUser() method
-----Original Message-----
From: Zachary Wu [mailto:zachary@combi.com.cn]
Sent: Tuesday, 24 September 2002 1:34 p.m.
To: zope@zope.org
Subject: [Zope] How to get the current logged on user?
I found the function "getUser(self)" in the "Zope book", but I don't know
how to use it. There is no example to show :(