[Zope] Getting user roles

Michel Pelletier michel@digicool.com
Tue, 16 Nov 1999 11:52:33 -0500


> -----Original Message-----
> From: Daniel G. Rusch [mailto:drusch@globalcrossing.com]
> Sent: Tuesday, November 16, 1999 11:38 AM
> To: zope@zope.org
> Subject: [Zope] Getting user roles
> 
> 
> We are trying to get all the user roles for a given user (someone).
> 
> we tried this:
> 
> <dtml-var "acl_users.get_local_roles_for_userid('someone')">
> 
> all it does is returns an empty set. 
> 
> P.S. Someone does exist and someone does have roles.
> 
> Any thoughts,

<dtml-var "AUTHENTICATED_USER.getRoles()">

-Michel