Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/o/portalpy-HEAD/examples/list_admins.py   portalpy(Download)
 
for user in users :
    userResp = portal.get_user(user['username'])
    print user['username'] + ":  " + userResp['role']