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 > Finding Users and Groups

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-30-09, 07:03
shahnazurs shahnazurs is offline
Registered User
 
Join Date: May 2005
Posts: 25
Finding Users and Groups

Can you please say me how to find user's and groups created in DB2 database? I search through lot of resurces but vain.

we have in oracle dba_users/all_users.....we have roles there but DB2 I have no idea since I am novice.

your response is much useful for me.

Thanks,
Shahnaz.
Reply With Quote
  #2 (permalink)  
Old 07-30-09, 08:25
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
DB2 does not have users and groups defined within it. It uses external means (like the OS) to perform the security. All that DB2 stores is the authorizations of the users and groups.

Andy
Reply With Quote
  #3 (permalink)  
Old 07-30-09, 08:36
aflorin27 aflorin27 is offline
Registered User
 
Join Date: Apr 2008
Location: Iasi, Romania
Posts: 317
If you will query the system catalog views for those authorizations (like syscat.schemaauth, syscat.tabauth, etc) you will get a list with all the users/groups that have privileges in your database. And you may suppose that this is the users and groups list.
__________________
Florin Aparaschivei
Iasi, Romania
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