How can i get DomainName of users accessing the website that
How can i get DomainName of users accessing the website that is hosted in IIS .
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Nirmal HotaRank #1,004 · 2K reputationPosted Mar 30, 2015, 5:56 AM EDT
Raja Karri138 reputationPosted Mar 30, 2015, 8:48 AM EDT
Nirmal HotaRank #1,004 · 2K reputationPosted Mar 30, 2015, 9:49 PM EDT
Nirmal HotaRank #1,004 · 2K reputationPosted Mar 30, 2015, 9:54 PM EDT
Ref : http://forums.asp.net/t/1497053.aspx?get+Client+Username+Domain+name+
Please try
function GetClientInfo() { var net = new ActiveXObject("wscript.network"); document.write("Computer Name : "+net.ComputerName +"'\n User Name : "+net.UserName+"\n Domain Name : " +net.UserDomain); }Raja Karri138 reputationPosted Apr 1, 2015, 4:26 AM EDT