[Zope] Displaying username

Matthias Hörtzsch m_hoertzsch@yahoo.de
Mon, 27 Jan 2003 16:36:00 +0100


Am Montag, 27. Januar 2003 16:26 schrieb J.C.McNulty:
> May sound like an easy question, but how do I display a logged in users
> username in a dtml document, what I am planning to do is use that usern=
ame
> to search our staff directory and pull back their first and last name

You could use something like this:

<dtml-let user="_.SecurityGetUser()">
 	<dtml-var user>
</dtml-let>

Matthias


> Thanks
>
> James

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de