Re: Prompting for user id/password when using Integrated Security



You'll need to use "Run As" to launch your application. I've done this many
times manually, but do not know the APIs to launch an application using
another Windows domain account.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________

"Stefan Tzanev" <StefanTzanev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3684748E-CD00-4162-AF6C-464E66FFDA02@xxxxxxxxxxxxxxxx
>I want to allow a user of an ADO 2.8 application to login to SQL Server
>using
> Windows authentication ("Integrated Security = SSPI") even if she is not
> the
> current Windows user. (For example, prompt the user for her Windows
> account
> information in a way, similar to that used in Windows Explorer when
> mapping
> to a network drive under different user credentials.)
> How can I provide explicitly the Windows user id/password information
> (different from those of the currently logged in user) when using Windows
> authentication to connect to the SQL Server? ("Provider =
> SQLOLEDB;Integrated
> Security = SSPI")
> Thank you.


.



Relevant Pages

  • What Cruise Line is hosting Windows 7 Launch Parties?
    ... If you have seen the Microsoft Windows 7 Launch Party videos and their ... Holland America Line to Host Windows 7 Launch Parties at Sea Onboard ... As Microsoft Corp. rolls out Windows 7 worldwide, Holland America Line ... World's Leading Cruise Lines ...
    (rec.travel.cruises)
  • Re: File Summary/ Knowing when a file is created and deleted/ The first program started when windows
    ... > when some program adds files before the windows UI is launched. ... > There are programs that install upon reboot of Windows and before other ... it needs to launch before any other program. ... > Monitor Program would launch and ...
    (microsoft.public.vc.mfc)
  • Re: WaitForSingleObject returns immediately
    ... On Windows Mobile, it won't work with virtually any application, no. ... Paul T. ... specific option to terminate it. ... Is there a way to launch an application with some sort of "disable ...
    (microsoft.public.windowsce.app.development)
  • Re: Slow Windows Start
    ... > Windows launch problem reoccurred, even though Shell Hardware Detection was ... I fixed it by disabling all services and going through ... 1- Use chkdsk to check the integrity of your hard disk: ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Delay loading applications for 10 min. after Windows startup
    ... load for around 10 minutes after Windows starts up. ... usage level for about 10 minutes without displaying any windows. ... Based on observing the Task Manager process list, ... same launch delay occurs with Internet Explorer and several other Internet ...
    (microsoft.public.windowsxp.network_web)

Loading