|
 |
asp_components thread: Access to NT 4 user accounts
Message #1 by Pedro Andrade <pandrade@n...> on Wed, 22 Aug 2001 17:25:33 +0100
|
|
Hello everyone,
I'm looking for one way to access to NT 4 user accounts via my
ASP page.
I would like to authenticate my intranet users with their NT 4
domain username/passwords. But I don't want to use the login box that
the IIS challenge response offers.
Is any windows API that I can use ? Or component ?
Any suggestion ?
Thanks in advance.
Pedro Andrade
Message #2 by "J House" <jesse@s...> on Sat, 25 Aug 2001 21:52:30
|
|
If you disable anonymous access in IIS, and enable windows authenication,
then you can retrieve the domain\username from Request.ServerVariables
("LOGON_USER")
> Hello everyone,
>
> I'm looking for one way to access to NT 4 user accounts via my
> ASP page.
>
>
> I would like to authenticate my intranet users with their NT 4
> domain username/passwords. But I don't want to use the login box that
> the IIS challenge response offers.
>
> Is any windows API that I can use ? Or component ?
>
> Any suggestion ?
>
> Thanks in advance.
>
> Pedro Andrade
>
Message #3 by "Hunuman" <hunuman@f...> on Sun, 26 Aug 2001 21:39:15 +0100
|
|
Pedro,
You could also try this API
Public Declare Function LogonUser Lib "kernel32" Alias "LogonUserA" (ByVal
lpszUsername As String, ByVal lpszDomain As String, ByVal lpszPassword As
String, ByVal dwLogonType As Long, ByVal dwLogonProvider As Long, phToken As
Long) As Long
I think it will do the job, but havent used it in a long time.
Hope this helps
Tim M
+++++
If objToErr Is objHuman Then Set objForgive = New objDivine
----- Original Message -----
From: "J House" <jesse@s...>
To: "ASP components" <asp_components@p...>
Sent: Saturday, August 25, 2001 9:52 PM
Subject: [asp_components] Re: Access to NT 4 user accounts
> If you disable anonymous access in IIS, and enable windows authenication,
> then you can retrieve the domain\username from Request.ServerVariables
> ("LOGON_USER")
>
>
>
> > Hello everyone,
> >
> > I'm looking for one way to access to NT 4 user accounts via my
> > ASP page.
> >
> >
> > I would like to authenticate my intranet users with their NT 4
> > domain username/passwords. But I don't want to use the login box that
> > the IIS challenge response offers.
> >
> > Is any windows API that I can use ? Or component ?
> >
> > Any suggestion ?
> >
> > Thanks in advance.
> >
> > Pedro Andrade
> >
>
>
|
|
 |