SQL Query to obtain directly assigned entitlements for a user
Originally Published: 2019-01-28
Article Number
Applies To
RSA Version/Condition: 7.x
Issue
Resolution
1) PV_USER_DIRECT_ACCESS
2) PV_USERS
Example queries:
(1) To display 'ent' type entitlement and total count for this entitlement of type 'ent', for all users:
select count(*), ENTITLEMENT_TYPE from PV_USER_DIRECT_ACCESS where ENTITLED_ID IN (Select ID from PV_USERS) group by ENTITLEMENT_TYPE;
(2) To display entitlement name and type of a specific user
select D.ENTITLED_TYPE, D.ENTITLEMENT_NAME, D.ENTITLED_ID as MEU_ID, u.first_name, u.last_name from PV_USER_DIRECT_ACCESS D, PV_USERS U where ENTITLEMENT_TYPE = 'ent' and ENTITLED_ID IN (Select ID from PV_USERS U where USER_ID = 'shiremath');
Notes
The RSA Identity Governance and Lifecycle public views are accessed from a separately configured Oracle user account, ACMDB, installed on the same database instance with the base RSA Identity Governance and Lifecycle database. Please check with your RSA Identity Governance and Lifecycle system administrator for the specific password used to access this account.
The URL's to the "Public Database Schema Reference" documents are as follows:
Related Articles
Guidelines for writing Report Chart SQL Queries in RSA Identity Governance & Lifecycle 54Number of Views How to use the HXTT Text (CSV) Pure Java JDBC Driver to test SQL Queries against a CSV text file data source in RSA Identi… 318Number of Views RSA Governance & Lifecycle Exchange 2010 Connector Datasheet 11Number of Views How to enable DEBUG logging to show SQL queries generated by RSA Identity Governance & Lifecycle 100Number of Views How to run a SQL query for Authentication Manager 8.0 or 8.1 and write the output to a file for support 780Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device How to implement SAML SSO Authentication with Microsoft Azure Active Directory and RSA Identity Governance & Lifecycle RSA Authentication Manager 8.9 Patches and Hotfixes Readme "No decryption codes were found in the zip file" error when decrypting RSA SecurID tokens How to download full kits, service packs, and patches from RSA Link for RSA Identity Governance & Lifecycle
Don't see what you're looking for?