Hi all,
This is a rookie question for sure but how do I get the email address of the user that is visiting the page without asking them?
This is for an intranet application not a public website. All users are on the same domain and are using IE6. We are running Active Directory. This works with WSH on the local workstation but not on a web page:
dim objAdSysInfo, objUser
Set objAdSysInfo = CreateObject("ADSystemInfo")
Set objUser = GetObject("LDAP://" & objADSysInfo.UserName)
Wscript.Echo "SMTP Address: " & objUser.mail
Any ideas?
-Striker
This is a rookie question for sure but how do I get the email address of the user that is visiting the page without asking them?
This is for an intranet application not a public website. All users are on the same domain and are using IE6. We are running Active Directory. This works with WSH on the local workstation but not on a web page:
dim objAdSysInfo, objUser
Set objAdSysInfo = CreateObject("ADSystemInfo")
Set objUser = GetObject("LDAP://" & objADSysInfo.UserName)
Wscript.Echo "SMTP Address: " & objUser.mail
Any ideas?
-Striker