Oracle DBMS_GSM_CURUSER
Version 26ai

General Information
Library Note Morgan's Library Page Header
The best Oracle News for FY2026

Oracle Database 26ai will be available on generic Linux platforms in January and soon on AIX and Windows
Purpose Undocumented
AUTHID CURRENT_USER
Dependencies
CREATEDUPLICATEDTABLE REFRESHGROUP EXEC_SHARD_PLSQL
DBMS_GSM_NOPRIV MODIFYDUPLICATEDTABLEREFRESHGROUP
DBMS_GSM_SEC REFRESHDUPLICATEDTABLE
DBMS_GSM_VPD REMOVEDUPLICATEDTABLEREFRESHGROUP
DBMS_GSM_XDB RESUMEDUPLICATEDTABLEREFRESH
DBMS_SESSION STOPDUPLICATEDTABLEREFRESH
Documented No
First Available 23ai
Pragmas PRAGMA SUPPLEMENTAL_LOG_DATA(default, READ_ONLY);
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/dbmsgwmfix.sql
{ORACLE_HOME}/rdbms/admin/prvtgwmfix.plb
Subprograms
 
SETCURUSER (new 23ai)
Set the current user dbms_gsm_curuser.setCurUser(user IN VARCHAR2 DEFAULT NULL);
exec dbms_gsm_curuser.setCurUser;

PL/SQL procedure successfully completed.
 
UNSETCURUSER (new 23ai)
Unset the current user dbms_gsm_curuser.unsetCurUser;
exec dbms_gsm_curuser.unsetCurUser;

PL/SQL procedure successfully completed.

Related Topics
Built-in Functions
Built-in Packages
Database Security
DBMS_GSM_GSMUSER
What's New In 21c
What's New In 26ai

Morgan's Library Page Footer
This site is maintained by Daniel Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved