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 > Informix > informix user grants

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-01-02, 17:09
myu2050 myu2050 is offline
Registered User
 
Join Date: Nov 2002
Posts: 2
Lightbulb informix user grants

I'd like to have scripts which will show all the privileges grant to a user. Any idea?


Thanks!
Reply With Quote
  #2 (permalink)  
Old 11-11-02, 15:08
zathrus zathrus is offline
Registered User
 
Join Date: Oct 2002
Posts: 6
dbschema -d <databasename> -ss -p <username or all or public>
Reply With Quote
  #3 (permalink)  
Old 11-14-02, 04:01
tungaw2001 tungaw2001 is offline
Registered User
 
Join Date: Nov 2002
Posts: 25
Re: informix user grants

Quote:
Originally posted by myu2050
I'd like to have scripts which will show all the privileges grant to a user. Any idea?


Thanks!
use $dbschema -d "databasename" -p "all" file.txt

view the file and you'll see all the previliges for all users.
Just change the "all" to specific user if you want specific.
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