[Zope] Testing on user roles

Gitte Wange gitte@mmmanager.org
03 Apr 2001 19:11:23 +0200


Hello,

On my site I want to make 2 different admin sites depending on what user
role the logged-in user has.
For this purpose I have created 2 roles.

Now I have read the helpfile and have found out that I can test for
AUTHENTICATED_USER.getRoles() but this function need an object.
What object should I pass to this function ?

Regards,
-- 
************************
Gitte Wange Jensen

System Squid Developer
MMManager Aps
+45 29 72 79 72

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