|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Finding windows nt4 client logon username using ASP and VBScript
Hi,
I hope you can help me out with the following problem. I cannot seem to find anyone that knows the answer to this question. Problem: I am trying to create an intranet site where some of the pages require the windows nt logon username to be printed out. This is to verify who submitted details for a form that I have created. The problem is that I cannot find the variable that stores this logon, nor how to use it with ASP and VBScript. I am using ASP with VBScript on a Windows NT 4.0 Platform with IIS4.0. Please let me know if you need more info. I appreciate the help, Thanks, Irfan. |
|
#2
|
|||
|
|||
|
Re: Finding windows nt4 client logon username using ASP and VBScript
Hello...
Try Request.Servervariables ("AUTH_USER") |
|
#3
|
|||
|
|||
|
Make sure IIS has the Annonymous option unticked to and Windows Integrated whatever is on, this is in the directory security tab (just incase).
I tried it for ages and it didn't give me the NT Name, really **** me because it should have worked, then I went fiddling and it worked after I turned anonymous login off. |
|
#4
|
|||
|
|||
|
Thanks alot. I tried it and it worked fine.
Regards, Irfan. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Finding windows nt4 client logon username using ASP and VBScript |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|