Hi,
How can we retrieve user name in windows authentication ?
Windows Authentication
2 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 attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted May 1, 2012, 6:11 PM EDT
System.Environment.UserName
Thanks
MuthuMari MRank #5,738 · 288 reputationPosted May 1, 2012, 10:14 PM EDT
in web.config file
The <identity> element is configured as follows.
pls refer this url
http://stackoverflow.com/questions/857140/retreving-client-username-by-using-windows-authentication
thanks.
If this post is useful then mark it as "Accepted Answer"