"xnor" <xnor82 RemoveThis @yahoo.com> wrote in message
news:0f1801c38297$2dda9c40$a001280a@phx.gbl...
> hi all,
> i have a iis on windows xp pro. this iis serves in
> intranet. and all users have domain password in intranet.
> i write some asp code for this. but this code does't give
> me the nt user name of user who visit my site.
>
> this code is only giving users who is recognized on local.
> and access the page on local...
>
> now what can do on iis's configuration.
> thanks for your helps...
>
> my code is below:
>
> <%
> Dim login,userName
> Dim adres
> userName = Trim("" & Request.ServerVariables("LOGON_USER"))
> login = Request.ServerVariables("REMOTE_ADDR")
> Response.Write "User Name: '" & userName & "'"
> REsponse.End
>
> %>
Make sure you have authentication setup correctly.
5.1 on XP is basically the same as 5.0 on W2K.
<a style='text-decoration: underline;' href="http://www.microsoft.com/windows2000/en/server/iis/" target="_blank">http://www.microsoft.com/windows2000/en/server/iis/</a>
Microsoft Internet Information Server
Administration
Server Administration
Security
Authentication
Access Control
HOW TO: Configure IIS 5.0 Web Site Authentication in Windows 2000
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=310344" target="_blank">http://support.microsoft.com/?id=310344</a>
HOW TO: Configure User and Group Access on an Intranet in Windows 2000 or
Windows NT 4.0
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=325358" target="_blank">http://support.microsoft.com/?id=325358</a>
--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: configuring iis for resolve nt password