[Zope] NuxUserGroups question

Florent Guillaume fg@nuxeo.com
Tue, 6 May 2003 15:18:08 +0200


> How can I obtain the list of local roles associated to a group?

You can simply call
  ob.get_local_group_roles()
which will return (similarly to what get_local_roles does) a sequence
of pairs, the first element of a pair being the group id and the second
element the local roles this group has.

See LocalRolesWithGroups.py for more methods specific to groups.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com