Hi,
Under ASP I was able to use code like that listed below to confirm login
details on our intranet site. I wish to upgrade our site to run purely under
ASP.NET. I am having trouble converting this code to ASP.NET code somebody
point me in the right direction with some sample code like this done in
ASP.NET
set ADSI = GetObject("WinNT:")
set IIS = ADSI.OpenDSObject("WinNT://MyDomain/" & Request.Form("UserName") ,
Request.Form("UserName"), Request.Form("Password"),
ADS_SECURE_AUTHENTICATION)
IF err.Number = 0 THEN
Response.Cookies("UserName") = Request.Form("UserName")
Response.Cookies("UserName").Expires = "July 1, 2020"
End If
Thanks