Does anyone know if there is a way with API or otherwise to export all of the users with roles assigned within BigFix Webreports? Just to clarify, i'm not referring to BigFix Console permissions, just specifically permissions within Webreports. There doesn't appear to be an export option so the only way I think you can do it is to basically copy/paste each page of users but i'm hoping someone might know of another way. Perhaps a database query would be a better option for this.
I couldn’t find an API query to list Web Reports users and their roles. However, I have an existing SQL query that can provide the required details. You can give it a try.
SELECT u.LoginName,
CASE WHEN u.IsADUser = 1 THEN 'LDAP/AD' ELSE 'Local' END AS UserType,
r.Name AS RoleName
FROM BESReporting.dbo.USER_NAMES u
INNER JOIN BESReporting.dbo.ROLE_USER_ASSIGNMENTS rua ON u.UserID = rua.UserID
INNER JOIN BESReporting.dbo.ROLES r ON rua.RoleID = r.ID
WHERE u.LoginName <> 'Deleted User'
ORDER BY u.LoginName, r.Name;
1 Like
Thank you I will give that a shot.