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

Analytics Query inquries - entitlement(in role / out of role )

ejeong
Valued Contributor
Valued Contributor

Hello I need to make query like below, can anyone please help me to make the qeury?

Select UserName,AccountName, Count(all entitlement assigned from Roles), count(all entitlement not assigned by role),   count (all entitlement assigned from role) / count (all entitlement not assigned by role) X 100

from tables all required 

where entityname like 'A' and u.statuskey = 1 

-----------------------------------------------------------------------------------------------------------------------------------

There could be entitlement part of the role but rolekey not updated property in AssignedfromRole. in this case also, we want to consider this entitlement assigned by role by looking ent_Valuekey in roles assigned to user. 

1 REPLY 1

ejeong
Valued Contributor
Valued Contributor

I am thinking to make query like below and make count for this 

ejeong_0-1676539067569.png