Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
08/05/2024 02:58 AM
Hi Team,
Need a sql query that reports all the SAV roles assigned to user.
Thanks,
Sharanya V
08/05/2024 07:31 PM
SELECT u.username AS 'Username',
u.statuskey AS 'User Status',
s.rolename AS 'Role Name'
FROM users u
LEFT JOIN user_savroles us
ON u.userkey = us.userkey
LEFT JOIN savroles s
ON us.rolekey = s.rolekey
WHERE u.statuskey = 1
ORDER BY u.username,
s.rolename;
NOTE : Create analytics report savroles is not exposed in data analyzer