Description: The following statement alters the user "app_user1". The example permits app_user1 to connect through the proxy user sh. The example also allows app_user1 to enable its warehouse_user role when connected through the proxy sh.
Language: PL/SQL Highlight Mode: PLSQL Last Modified: March 09th, 2009
ALTERUSER app_user1
GRANT CONNECT THROUGH sh
WITH ROLE warehouse_user;-- The following statement takes away the right of -- user app_user1 to connect through the proxy user sh:ALTERUSER app_user1 REVOKE CONNECT THROUGH sh;