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

Roles Provisioned by Technical rules

Bhargav
New Contributor
New Contributor

Hi, 

We have a requirement to generate the report for - How the ROLE is provisioned via birthright and what are all the entitlements associated with that role? and who are all users part of this role? include status of the user.

 

Can someone help me with query?

TIA.

Regards,

Bhargav.

2 REPLIES 2

naveenss
All-Star
All-Star

Hi @Bhargav  please try the below query and modify any conditions as per your requirement.

SELECT DISTINCT u.username,r.role_name,ev.entitlement_value,rua.source,case when u.statuskey=1 then 'Active' else 'Inactive' end as userstatus from users u,role_user_account rua,role_entitlements re,roles r,entitlement_values ev where u.userkey=rua.userkey and r.rolekey=rua.rolekey and r.rolekey=re.rolekey and re.entitlement_valuekey=ev.entitlement_valuekey and rua.source='ZERODAY';
Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

rushikeshvartak
All-Star
All-Star

Use below tables to prepare query

  • roles 
  • role_entitlements
  • account_entitlements 
  • role_user_account
  • users
  • entitlement_values
  • accounts

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