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

Sav Role Assignment

Chakritha
New Contributor III
New Contributor III

Hi team,

We have the requirement to assign the one Sav role when new delegate has been created in the system and the user manager. 

We have a custom query to assign the Sav role to the user for Delegate but the Custom query Job is no longer in the latest version. Can any one please help us how we can assign the Sav roles automatically to the users.

Custom Query:

INSERT INTO USER_SAVROLES(USERKEY,ROLEKEY) SELECT USERKEY,(select rolekey from savroles where ROLENAME='ROLE_CAMPAIGN_OWNER') FROM USERS where USERKEY in (select userkey from users where userkey in (select userkey from delegates) and userkey not in (select userkey from user_savroles where ROLEKEY in (select rolekey from savroles where ROLENAME='ROLE_CAMPAIGN_OWNER')}}}

 

Thank You,

Chakritha

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Enhanced query is not supported on below table. Use saviynt 4 saviynt rest connector

  • user_savroles 

https://docs.saviyntcloud.com/bundle/EIC-Admin-v23x/page/Content/Chapter10-Job-Control-Panel/Job-Cat...


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