<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>User_role_privs on Oracle Scripts</title><link>https://www.oraclescripts.com/tags/user_role_privs/</link><description>Recent content in User_role_privs on Oracle Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>OracleScripts.com</copyright><lastBuildDate>Thu, 04 Jan 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://www.oraclescripts.com/tags/user_role_privs/index.xml" rel="self" type="application/rss+xml"/><item><title>dba_role_privs: List Oracle Roles Granted to a User</title><link>https://www.oraclescripts.com/post/show-oracle-roles-that-are-granted-to-a-user/</link><pubDate>Thu, 04 Jan 2024 00:00:00 +0000</pubDate><guid>https://www.oraclescripts.com/post/show-oracle-roles-that-are-granted-to-a-user/</guid><description>
&lt;h2 id="dba_role_privs-list-oracle-roles-granted-to-a-user"&gt;dba_role_privs: List Oracle Roles Granted to a User&lt;/h2&gt;
&lt;h2 id="purpose"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;Which roles does an Oracle user hold, and can that user pass them on to others? The view &lt;code&gt;DBA_ROLE_PRIVS&lt;/code&gt; answers both questions. It describes the roles granted to all users and roles in the database. One row is one grant. The query below filters that view for one account and returns the role name and the ADMIN OPTION flag for each grant.&lt;/p&gt;</description></item></channel></rss>