Re: Prompting for user id/password when using Integrated Security
- From: "Daniel Crichton" <msnews@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 16:59:46 +0100
Stefan wrote on Mon, 27 Jun 2005 15:14:03 -0700:
> 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.
Have you looked into using the LogonUser Win32 API call to make the
application run with the user credentials entered?
Dan
.
- Follow-Ups:
- Re: Prompting for user id/password when using Integrated Security
- From: Stefan Tzanev
- Re: Prompting for user id/password when using Integrated Security
- References:
- Prompting for user id/password when using Integrated Security
- From: Stefan Tzanev
- Prompting for user id/password when using Integrated Security
- Prev by Date: Re: multi recordset error?
- Next by Date: Re: Parameter to a Stored Procedure
- Previous by thread: Re: Prompting for user id/password when using Integrated Security
- Next by thread: Re: Prompting for user id/password when using Integrated Security
- Index(es):
Relevant Pages
|
|