Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

users with no entitlements

ant
New Contributor
New Contributor

Hi,

need sql sample query to get active users without entitlement in Saviynt

 

4 REPLIES 4

sai_sp
Saviynt Employee
Saviynt Employee

select distinct username, firstname, lastname from users u, user_accounts ua where
u.userkey = ua.userkey
and ua.accountkey not in (select accountkey from account_entitlements1)
and u.statuskey = 1;

@ant This gives list of users who do not have any entitlements assigned in saviynt.

dgandhi
All-Star
All-Star

The above query suggested by @sai_sp should get the output that you want.

Thanks

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

ant
New Contributor
New Contributor

Does this applied also to those account correlated with systemusernames?

Yes this applies to accounts associated with users since you wanted to find the username with no entitlements.

Thanks

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.