Function Get_NTUSERID()
Dim objShell As Object
Set objNet = CreateObject("WScript.Network")
NTUSERID = objNet.UserName
Set objNet = Nothing
End Function
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of
Ross St. Clair
Sent: June 1, 2005 3:29 PM
To: ASP Mailing List
Subject: [ASP] Get Windows Logon ID
Is there a way to retrieve an anonymous user's Windows logon ID via
ASP? The particular intranet site is unsecured and allows anonymous
access.
I've tried VBScript in the past and had some success, but the default
security settings for IE used by my client do not allow ActiveX
scripts to be run and I really can't ask the users to change these
settings.
Thanks!
-- Ross
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
<http://docs.yahoo.com/info/terms/> Service.
[Non-text portions of this message have been removed]
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/