[Zope] Getting user roles
Mike Pelletier
mike@digicool.com
Tue, 16 Nov 1999 16:18:31 -0500
Daniel G. Rusch <drusch@globalcrossing.com> wrote:
> The problem with the code below is that you must be logged in as the
> person you want to get the roles of. If for example an administrator
> needed to get the roles of a specific user or group of users the the
> code below would not work.
>
>
> <dtml-var "AUTHENTICATED_USER.getRoles()">
This worked for me:
<dtml-var "acl_users.getUser('someone').getRoles()">
Mike.