[Zope] getUsers cf. get_valid_userids question

2000-06-14 Thread Geoff Gardiner
I want to show all users who have certain roles / and or permissions (Zope 2.1.6). I can't see how to do this directly, because I can't see how to get hold of user objects, which I need to carry out has_permission, etc., methods. I can show the userids of all valid users: dtml-in

Re: [Zope] getUsers cf. get_valid_userids question

2000-06-14 Thread Shalabh Chaturvedi
Hi: In an attempt to solve the very same problem (Get a list of all users with certain role) I created an external method. It walks up the acquisition path, at each level checking the existing acl_users (if it exists) for all users with the role. I can't say this it is the best way to do it,