[Grok-dev] How do I get all available roles?
Sascha Boch
sascha.boch at gmx.de
Fri Jul 30 05:13:38 EDT 2010
Hi there,
how can I get a list of all available roles? The role manager gives me only
those roles that have been assigned to users. Roles that are unused are not
returned by the getPrincipalsAndRoles method.
I need this for a form that is used to create users. The options role
choice field should be built dynamically according to the roles that are
available.
Thanks,
Sascha
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20100730/fa58f9e5/attachment.html
More information about the Grok-dev
mailing list