DBA Data[Home] [Help] [Dependency Information]


VIEW: SYS.USER_ROLE_PRIVS

Object Details
Object Name: USER_ROLE_PRIVS
Object Type: VIEW
Owner: SYS
Subobject Name:
Status: VALID

Roles granted to current user

[View Source]

Columns
Name Datatype Length Mandatory Comments
USERNAME VARCHAR2 (128)
User Name or PUBLIC
GRANTED_ROLE VARCHAR2 (128)
Granted role name
ADMIN_OPTION VARCHAR2 (3)
Grant was with the ADMIN option
DELEGATE_OPTION VARCHAR2 (3)
Grant was with the DELEGATE option
DEFAULT_ROLE VARCHAR2 (3)
Role is designated as a DEFAULT ROLE for the user
OS_GRANTED VARCHAR2 (3)
Role is granted via the operating system (using OS_ROLES = TRUE)
COMMON VARCHAR2 (3)
Role was granted commonly
Query Text

Cut, paste (and edit) the following text to query this object:


SELECT USERNAME
,      GRANTED_ROLE
,      ADMIN_OPTION
,      DELEGATE_OPTION
,      DEFAULT_ROLE
,      OS_GRANTED
,      COMMON
FROM SYS.USER_ROLE_PRIVS;

Dependencies

[top of page]

SYS.USER_ROLE_PRIVS references the following:

SchemaSYS
TableDEFROLE$
TablePROXY_INFO$
TablePROXY_ROLE_INFO$
TableSYSAUTH$
TableUSER$
SYS.USER_ROLE_PRIVS is referenced by following:

SchemaPUBLIC
SynonymUSER_ROLE_PRIVS
SchemaSYS
Package BodyDBMS_STATS - show dependent code
Package BodyDBMS_STREAMS_ADM_UTL_INVOK - show dependent code