Can someone tell me how to get the Logon User in ASP.NET.
Ur help is appriciated..
Sonia
Printable View
Can someone tell me how to get the Logon User in ASP.NET.
Ur help is appriciated..
Sonia
I just use the request.servervariables like classic ASP.
Probably a better way but this works
VB Code:
response.write(request.ServerVariables("Auth_User"))
HTH
MarkusJ
In the Page_Load, I've been using:
Dunno if it's the best way but it's been good for me...(so far)Quote:
dim szUser as String = Me.User.Identity.Name
fungi thanks !!!
It works for me too.
SOnia