Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Delegate Query that returns users with a specific SAV Role

pheeb
New Contributor
New Contributor

This query returns what is needed in Data Analyzer:

select users.userkey from users, user_savroles where users.userkey=user_savroles.userkey and users.statuskey=1 AND user_savroles.rolekey=19

But I can't get this to work when I try to use it to filter the list of users to delegate to, anyone know if this can be made to work? the basic filter on statuskey is returning invalid users. 

4 REPLIES 4

stalluri
Valued Contributor II
Valued Contributor II

@pheeb 

user.manager=${user.id} or user.id=${user.manager} - Parent user reporters and his/her manager.
user.manager<>user.id and user.statuskey=1 - Active users who has managers.



Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

rushikeshvartak
All-Star
All-Star
  • Do you want to update sav role configuration or you want analytics report ?
  • In both cases please elaborate requirement with example

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

The requirement is to limit the users available in the delegation area to only users with a specific SAV role. I created a query that  returned only users with a specific SAV role in the Analyzer area, but it did not work in the global configuration delegate query. It returned zero users when the query was used there. thanks

Use below query which is working 

user.statuskey=1 and user.id in (select us.userkey from User_savroles us where us.rolekey=19)

rushikeshvartak_1-1724873193471.pngrushikeshvartak_2-1724873202910.png

 

rushikeshvartak_0-1724872888610.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.