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 > Roles and ODBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-18-04, 07:47
wstroop wstroop is offline
Registered User
 
Join Date: Nov 2003
Posts: 8
Roles and ODBC

Hello,

Is there a config parameter, that disables the "set role ...".

When a user is in a role, the first thing he has to do is to run "set role rolename".

When this user connect with ODBC to run his queries, this is impossible.

Regards,
Reply With Quote
  #2 (permalink)  
Old 03-22-04, 05:09
DoktorBlue DoktorBlue is offline
Registered User
 
Join Date: Aug 2003
Location: Delft, The Netherlands (EU)
Posts: 447
Re: Roles and ODBC

When you let the users connect to Informix via ODBC, you should consider to build the role assignment into your client app.
__________________
Make everything as simple as possible, but not simpler! - A. Einstein
DB Problems? DB Explorer, BTrieve Re-engineering, DB Conversions & ETL? Conversion Tool
Reply With Quote
  #3 (permalink)  
Old 03-22-04, 05:13
wstroop wstroop is offline
Registered User
 
Join Date: Nov 2003
Posts: 8
And if this is a third party tool, like Access.
Reply With Quote
  #4 (permalink)  
Old 03-22-04, 05:37
DoktorBlue DoktorBlue is offline
Registered User
 
Join Date: Aug 2003
Location: Delft, The Netherlands (EU)
Posts: 447
.... then you work either with fixed username / password combinations, or you may consider to make a form in MS Access to let the user specify his/her role, which you may translate into a SET ROLE statement.
__________________
Make everything as simple as possible, but not simpler! - A. Einstein
DB Problems? DB Explorer, BTrieve Re-engineering, DB Conversions & ETL? Conversion Tool
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