Re: Application Role - aduseclient
From: veronique dumon (veronique.dumon@smals-mvm.be)
Date: 06/06/02
- Next message: Josef: "User permission"
- Previous message: FR: "Re: profiler does not pick up any data in duration column"
- In reply to: Sue Hoegemeier: "Re: Application Role - aduseclient"
- Next in thread: Gheorghe Popescu: "Re: Application Role - aduseclient"
- Reply: Gheorghe Popescu: "Re: Application Role - aduseclient"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: veronique.dumon@smals-mvm.be (veronique dumon) Date: 5 Jun 2002 23:09:49 -0700
I've found a solution :
bestelcon.CursorLocation = adUseClient
bestelcon.Execute "EXEC sp_setapprole '" & user_appl_role & " ', {
ENCRYPT N '" & user_appl_pwd & "' } ,'ODBC'"
I Use a cursorlocation = aduseclient before I set the ApplicationRole.
This prevents that another connection starts the moment I use a
recordset.cursorlocation = aduseclient . Strange, but this works.
Thanks for the given tips !!!
- Next message: Josef: "User permission"
- Previous message: FR: "Re: profiler does not pick up any data in duration column"
- In reply to: Sue Hoegemeier: "Re: Application Role - aduseclient"
- Next in thread: Gheorghe Popescu: "Re: Application Role - aduseclient"
- Reply: Gheorghe Popescu: "Re: Application Role - aduseclient"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]