Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_WM , 20 of 52


GetPrivs Function

This function returns a comma-separated list of all privileges that the current user has for the specified workspace.

Syntax

DBMS_WM.GetPrivs (
   workspace  VARCHAR2) 
RETURN VARCHAR2;

Parameters

Table 70-15 GetPrivs Function Parameters  
Parameter  Description 
workspace
 

Name of the workspace for which to return the list of privileges. The name is case sensitive. 

Usage Notes

For information about Workspace Manager privileges, see Oracle9i Application Developer's Guide - Workspace Manager.

Examples

The following example displays the privileges that the current user has for the B_focus_2 workspace.

SELECT DBMS_WM.GetPrivs ('B_focus_2') FROM DUAL;

DBMS_WM.GETPRIVS('B_FOCUS_2')                                                        
--------------------------------------------------------------------------------
ACCESS,MERGE,CREATE,REMOVE,ROLLBACK 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback