If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Privileges in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-04, 17:42
mlvtw mlvtw is offline
Registered User
 
Join Date: Aug 2004
Posts: 2
Question Privileges in DB2

Is there a way to tell which user id has certain privileges in DB2?

I have queried both the SYSDBAUTH and SYSTABAUTH searching to see
if there is a way to see a certain user id.

All I see is DBADM. I want to see the user id's associated with DBADM.

Thanks, MLVTW :

ps. I am working on the mainframe using V7.3 of DB2.

Last edited by mlvtw; 08-31-04 at 18:06.
Reply With Quote
  #2 (permalink)  
Old 09-01-04, 12:35
crisscross crisscross is offline
Registered User
 
Join Date: Feb 2004
Posts: 25
You do the select from SYSTABAUTH and SYSDBAUTH where GRANTEE = 'userid'. Then you'll see any specific authority granted to that ID.
Reply With Quote
  #3 (permalink)  
Old 09-01-04, 12:38
crisscross crisscross is offline
Registered User
 
Join Date: Feb 2004
Posts: 25
I forgot - check SYSUSERAUTH too.
Reply With Quote
  #4 (permalink)  
Old 09-01-04, 14:58
mlvtw mlvtw is offline
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks

Thanks crisscross!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On