Author: Doug Ross, Performance Architects
Oracle Business Intelligence Enterprise Edition (OBIEE) provides the capability to impersonate another user by adding some parameters to the URL when connecting to the presentation server in order to help debug user issues. Two permissions must be added using “Enterprise Manager” to the “BI Administrator” application policy in order to enable this capability.
The steps are as follows:
- Log into Enterprise Manager and navigate to the Business Intelligence “coreapplication” panel.
- Click on the “Application Stripe” drop down and select “obi.” Then, click on the right arrow button at the end of the “Name” line to display all “Application Policies.” Scroll to find “BI Administrator” and click the “Edit” button.
- We will be adding two permissions using the same technique: “oracle.bi.server.impersonateUser” and “oracle.bi.server.queryUserPopulation.” When the “Add” button is clicked, the pop-up window will look like this:
- Fill in one of the new permission names into the “Starts With” box and click the right arrow button to execute. The search results will then show the new permission. Click on the resulting row in the search results, and then click the “Continue” button at the bottom to proceed. You must click on the row before clicking continue or it will not work correctly.
- The following window should be displayed. Click the “Select” button to proceed with adding the permission.
- The new permission has now been added to the “BI Administrator” application policy.
- Repeat steps 4-8 for the other permission: “oracle.bi.server.queryUserPopulation.”
- The changes in Enterprise Manager are applied immediately and no restart of any of the services is required.
- Now, any user who has been assigned to the “BI Administrator” application policy can impersonate another user. This is accomplished by adding parameters to the OBIEE login URL that include your username and password and the username of the user to impersonate. For example:
p3dbwhdev.acme.com:9704/analytics/saw.dll?Logon&NQUser=dcr29&NQPassword=YourPasswordHere&Impersonate=mam682
When you use this URL and it logs in successfully, you will initially see just a blank screen. You then have to navigate to the home screen by putting in the following URL:
http:// p3dbwhdev.acme.com:97049704/analytics/saw.dll?bieehome&startPage=1
Notice that after logging in, the username should display the impersonated user in the upper right.
Note: when entering passwords into the impersonation URL, replace any special characters like @, %, & with their ASCII equivalent.
Example: %25 = %
%64 for @
(ASCII chart here: http://www.ASCIItable.com/)
So a password of Abc@%123 would be entered as:
p3dbwhdev.acme.com:9704/analytics/saw.dll?Logon&NQUser=dcr29&NQPassword=Abc%64%25123&Impersonate=mam682