Home : Products : Hach WIMS : Server Setup : Hach WIMS Server Setup for ORACLE : Documentation : WIMS Oracle Schema Roles & Privileges
Q13354 - INFO: WIMS Oracle Schema Roles & Privileges

Required WIMS Oracle schema roles and privileges for a schema - OPSROOT and all facilities.

Roles:

"    CONNECT"

Privileges:


"    ADMINISTER DATABASE TRIGGER"
"    ALTER DATABASE"
"    ALTER PROFILE"
"    ALTER RESOURCE COST"
"    ALTER ROLLBACK SEGMENT"
"    ALTER SESSION"
"    ALTER SYSTEM"
"    ALTER TABLESPACE"
"    ALTER USER"
"    AUDIT SYSTEM"
"    BECOME USER"
"    CREATE SESSION"
"    CREATE CLUSTER"
"    CREATE DATABASE LINK"
"    CREATE DIMENSION"
"    CREATE INDEXTYPE"
"    CREATE LIBRARY"
"    CREATE MATERIALIZED VIEW"
"    CREATE OPERATOR"
"    CREATE PROCEDURE"
"    CREATE PROFILE"
"    CREATE PUBLIC DATABASE LINK"
"    CREATE PUBLIC SYNONYM"
"    CREATE ROLE"
"    CREATE ROLLBACK SEGMENT"
"    CREATE SEQUENCE"
"    CREATE SESSION"
"    CREATE SYNONYM"
"    CREATE TABLE"
"    CREATE TABLESPACE"
"    CREATE TRIGGER"
"    CREATE TYPE"
"    CREATE USER"
"    CREATE VIEW"
"    DROP PROFILE"
"    DROP PUBLIC DATABASE LINK"
"    DROP PUBLIC SYNONYM"
"    DROP ROLLBACK SEGMENT"
"    DROP TABLESPACE"
"    FORCE TRANSACTION"
"    GLOBAL QUERY REWRITE"
"    MANAGE TABLESPACE"
"    QUERY REWRITE"
"    RESTRICTED SESSION"
"    UNLIMITED TABLESPACE"

 

 

This list is a result from running this query, found from

http://www.adp-gmbh.ch/ora/misc/recursively_list_privilege.html

select
  lpad(' ', 2*level) || granted_role "User, his roles and privileges"
from
  (
  /* THE USERS */
    select 
      null     grantee, 
      username granted_role
    from 
      dba_users
    where
      username like upper('%&enter_username%')
  /* THE ROLES TO ROLES RELATIONS */ 
  union
    select 
      grantee,
      granted_role
    from
      dba_role_privs
  /* THE ROLES TO PRIVILEGE RELATIONS */ 
  union
    select
      grantee,
      privilege
    from
      dba_sys_privs
  )
start with grantee is null
connect by grantee = prior granted_role;

 

You can copy-paste this query into SQLDeveloper and run it to produce the results

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 2/17/2011 2:52 PM.
Last Modified on 3/9/2011 3:07 PM.
Last Modified by No Author Name Available!.
Article has been viewed 3353 times.
Rated 3 out of 10 based on 6 votes.
Print Article
Email Article