DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Plone And Acl_users

04.06.2009
| 3319 views |
  • submit to reddit
        // description of your code here


>>> acl_users = portal.acl_users
>>> users = acl_users.getUsers( ) 
>>> names = acl_users.getUserNames( ) 
>>> userx = acl_users.getUser( 'jsmith' ) 
>>> userx_roles = userx.getRolesInContext( context )