[Zope] Getting USER ROLES -- Please Help
Garry Steedman
gs@styrax.com
Tue, 13 Nov 2001 19:55:09 +0000
Chris,
first question: get list of roles for user
<dtml-var "AUTHENTICATED_USER.getRoles()">
second question: get user
<dtml-var AUTHENTICATED_USER>
cheers,
garry
On 13 Nov 2001, at 10:38, Chris Bruce wrote:
From: Chris Bruce <chrisabruce@yahoo.com>
To: zope@zope.org
Subject: [Zope] Getting USER ROLES -- Please Help
Date sent: Tue, 13 Nov 2001 10:38:26 -0800 (PST)
> Hi,
>
> I am trying to figure out how to get a list of roles for a specific
> user. I am not sure how to get the user from the acl_users folder by
> id as the following did not work:
>
> <dtml let user="acl_users['admin']">
>
>
> Any ideas?
>
>
> Thanks,
>
> Chris
>
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
>
> _______________________________________________
> 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 )
+-------------------------------------------+
Garry Steedman mailto:gs@styrax.com
Styrax Associates http://www.styrax.com/
"The Good Man has no shape."
+-------------------------------------------+