ZenDMD Tip - Audit Users
From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
On the master, `su zenoss` then `zendmd`
roleManager = dmd.acl_users.roleManager for user in dmd.ZenUsers.getUsers(): userId = user.getId() userRoles = roleManager.getRolesForPrincipal(user) print userId, userRoles