[Zope] Error: AUTHENTICATED_USER.hasRoles()

Gitte Wange gitte@mmmanager.org
04 Apr 2001 10:17:48 +0200


Hello,

I can't figure out what arguments the hasRoles function takes.
I have tried a lot but it all gives an attribute error.

I have these 2 roles - StationMan and ChannelMan - and I need to test
whether the logged-in user is either one of them.

But what arguments must I pass to the function ?

-- 
************************
Gitte Wange Jensen

System Squid Developer
MMManager Aps
+45 29 72 79 72

gitte@mmmanager.org
************************