IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
Environment.UserDomainName;
properties.DomainName;
System.Web.HttpContext.Current.Request.LogonUserIdentity.Name
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
I tried above Properties in C# but no luck. It works fine on the local machine.
My Question: I have hosted a web application in abc.com domain and url is abc.com, when I access this site outside of domain or from some other external domain computers (from clients system) how to get their(clients) system domain name using c#, Jquery or Javascript.
Any solution in c#, jQuery, JS? Thanks in advance.