Forums
This topic is locked
Login with NTUser
Posted 29 Jul 2002 17:11:18
1
has voted
29 Jul 2002 17:11:18 David Lindin posted:
Hi.I could need som help with a thing. I would like to let my users login in NT and automaticly login in my intranet. For that I need to see who has logged in into the workstation. Is that posible?
Replies
Replied 29 Jul 2002 17:26:16
29 Jul 2002 17:26:16 Jeremy Conn replied:
Try using this Server.Request:
<%
MyVar=request.servervariables("logon_user"
MyPos = InstrRev(MyVar, "/", -1, 1)
UserName=Mid(MyVar,MyPos+1,Len(MyVar))
%>
(DWMX|IIS5|WXP|ASP/VB)
*Connman21*
www.conncreativemedia.com
<%
MyVar=request.servervariables("logon_user"
MyPos = InstrRev(MyVar, "/", -1, 1)
UserName=Mid(MyVar,MyPos+1,Len(MyVar))
%>
(DWMX|IIS5|WXP|ASP/VB)
*Connman21*
www.conncreativemedia.com
