Doh! Thanks for the correction. -jfarr ----- Original Message ----- From: Rik Hoekstra <rik.hoekstra@inghist.nl> To: Jonothan Farr <jfarr@real.com> Cc: Baker, Dennis (sjmr) <DBaker@CHW.edu>; <zope@zope.org> Sent: Friday, March 24, 2000 1:46 AM Subject: Re: [Zope] Check to see if someone is a user, or anonymous
Jonothan Farr wrote:
<dtml-if "REQUEST.has_key('AUTHENTICATED_USER')">
or rather
<dtml-if "AUTHENTICATED_USER.getUserName()!='Anonymous'">
as in:
<dtml-if "AUTHENTICATED_USER.getUserName()!='Anonymous'"> whatever <dtml-else> whatever else </dtml-if>
Rik
_______________________________________________ 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 )