My Oracle Support Banner

How to Know if a Stored Procedure is Defined as AUTHID CURRENT_USER ? (Doc ID 130425.1)

Last updated on JULY 31, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 8.1.7 to 10.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Generic Windows
Checked for relevance on 17-Sep-2010


Two types of subprogram execution privileges are available since Oracle 8i :

Definer rights
Invoker rights

However, USER_OBJECTS or ALL_OBJECTS do not hold information on AUTHID. How to know if AUTHID is DEFINER or CURRENT_USER?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.