Skip Headers
Oracle® Argus Mart Installation and Administration Guide
Release 8.0

E55662-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

10 Setting Context in Multi-tenant Environment

In a multi-tenant setup, you can view only one enterprise data at a time for which context has been set.

To set the context for an enterprise, execute the following steps:

  1. Connect to the Argus Mart User (AM_MART_USER).

  2. Execute the following command:

    pkg_rls.set_context(:LoginUserName, :Enterpriseid, 'ARGUS_MART', NULL);
    

    Where,

    • LoginUserName refers to the User Name

    • Enterpriseid refers to the ID for the enterprise

    • ARGUS_MART refers to the Application Name

    This completes the steps to set the context for the enterprise.

    Example 10-1 Setting Context for an Enterprise

    Execute pkg_rls.set_context('admin',3,'ARGUS_MART',NULL);