On Sat, 2005-07-16 at 01:06 -0400, Stephan Richter wrote:
> On Saturday 16 July 2005 00:07, Darryl Cousins wrote:
> > So much for my solution, is there a better way. :-)
> 
> Of course. :-)

:-) Yes, I should have written **what's** the better way?  :-)

Thanks for that.

Best regards,
Darryl Cousins

> 
> from zope.app.security.interfaces import IUnauthenticatedPrincipal
> 
> def isLoggedIn(self):
>   return not IUnauthenticatedPrincipal.providedBy(self.request.principal)
> 
> Regards,
> Stephan
-- 
Darryl Cousins <[EMAIL PROTECTED]>
Tree Fern Web Services
106 Sandes St
Thames
New Zealand
**64 (0)7 868 3139

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to