Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 12th, 2004, 05:43 AM
Authorized User
 
Join Date: May 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows NT user

How To retrive Windows NT users using ASP

 
Old July 12th, 2004, 06:21 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Quote:
quote:Originally posted by muralikeane
 How To retrive Windows NT users using ASP


wat do u mean by this ..............

Numan
--------------------------------------------------
Love is the most beautiful thing of this world. So do this !
 
Old July 12th, 2004, 08:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Murali,

Set IIS authentication method to basic authentication for that website which can be found under your WebSite Properties >> Directory Security TAB >> EDIT (Anonymous access and authentication control) >> Check the Basic authentication (Password is sent in clear text) and click on EDIT to Select a default Domain from which Username and Password are to be used/verified against.

Then use Request.ServerVariables("LOGON_USER") in the ASP pages

Hope This is what you are looking for.
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old July 14th, 2004, 01:49 AM
Authorized User
 
Join Date: Jun 2003
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

I would do this another way - set challenge/respose as the security model at the web server and use request.servervariables("AUTH_USER")

Andy G
 
Old July 14th, 2004, 04:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think that settings apply to WINDOWS NT systems. The one I suggested was on Windows 2000. Not sure if Murali is using WinNT or Win2k though it was mentioned in his original post. Anyways, you can apply the relevant settings accordingly.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
user 'NT AUTHORITY\NETWORK SERVICE' GS ASP.NET 2.0 Basics 0 March 25th, 2007 10:58 AM
Returning NT User Name in SQL 2000 houry SQL Language 4 January 31st, 2005 11:08 AM
How to detect if a user is logon a Windows NT øej Pro VB.NET 2002/2003 1 January 23rd, 2004 10:30 AM
Windows NT Programing pedro Wrox Book Feedback 1 December 15th, 2003 12:11 PM
Windows NT service and Icon in the System Tray Dmitriy Pro VB 6 4 August 27th, 2003 01:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.