[Zope] Displaying username

fritz zope@floSoft.net
Mon, 27 Jan 2003 16:59:12 +0100


Am Montag, 27. Januar 2003 16:26 erhalten:
> 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 username
> to search our staff directory and pull back their first and last name
>
> Thanks
>
> James

<dtml-unless "AUTHENTICATED_USER.has_role('Anonymous')">
         Hi, <dtml-var AUTHENTICATED_USER>      
</dtml-unless>


fritz
(-:fs)