Oracle LBAC_SESSION
Version 26ai

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

Oracle Database 26ai is now availble. If you haven't you downloaded already: Why?
Purpose Label Security Undocumented Utilities
AUTHID DEFINER
Dependencies
LBAC$USER_LIBT LBAC_CACHE OLS$POL
Documented No
Exceptions
Error Code Reason
ORA-12458 Oracle Label Security not enabled
First Available 10.1
Security Model Owned by LBACSYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/prvtolsdd.plb
Subprograms
 
BYPASSALL
Undocumented lbac_session.bypassAll(policy_name IN VARCHAR2) RETURN BOOLEAN;
BEGIN
  IF lbac_session.bypassAll('UW_LBAC_POLICY') THEN
    dbms_output.put_line('T');
  ELSE
    dbms_output.put_line('F');
  END IF;
END;
/
 
BYPASS_READ
Undocumented lbac_session.bypassread(policy_name IN VARCHAR2) RETURN BOOLEAN;
BEGIN
  IF lbac_session.bypassRead('UW_LBAC_POLICY') THEN
    dbms_output.put_line('T');
  ELSE
    dbms_output.put_line('F');
  END IF;
END;
/
 
POLICY_DISABLED
Undocumented lbac_session.policy_disabled(policy_name IN VARCHAR2) RETURN BOOLEAN;
BEGIN
  IF lbac_session.policy_disabled('UW_LBAC_POLICY') THEN
    dbms_output.put_line('T');
  ELSE
    dbms_output.put_line('F');
  END IF;
END;
/

Related Topics
Built-in Functions
Built-in Packages
Database Security
LBAC_EVENTS
LBAC_EXP
LBAC_POLICY_ADMIN
LBAC_POLICY_ADMIN_INT
LBAC_STANDARD
LBAC_SYSDBA
OLS$DATAPUMP
OLS_ENFORCEMENT
OLS_UTIL_WRAPPER
Oracle Label Security (OLS)
SA_COMPONENTS
SA_LABEL_ADMIN
SA_SYSDBA
SA_USER_ADMIN
TO_LABEL_LIST
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