browser info
-
hi can any one tell me that is it possible to get the windows nt login information when he open our site in his browser as normally get his info like operating system etc through server variables regards
shezi
-
Yes.
Dim strNetworkUser As String = HttpContext.Current.User.Identity.Name.ToString()
That will return the domain and username. You can then just split the string at the "/" to get just the name.plus. you have to deny "Anonymous Access".
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)
-
hi can any one tell me that is it possible to get the windows nt login information when he open our site in his browser as normally get his info like operating system etc through server variables regards
shezi