webBrowser1 Control and NT Authentication
-
I can't seem to find anything to help my desktop application load a website and pass through the current logged in user. I know I can get the current logged in user by string NTUsername = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString(); and I have seen posts where you can specify the Username in the URL but neither are working url = "http://username:" + NTUsername + "@subdomain.domain.com/default.aspx"; I have even tried to hard code in my username/domain. Can someone help give me some insight on how to pass the current logged in user to the web browser control?
-
I can't seem to find anything to help my desktop application load a website and pass through the current logged in user. I know I can get the current logged in user by string NTUsername = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString(); and I have seen posts where you can specify the Username in the URL but neither are working url = "http://username:" + NTUsername + "@subdomain.domain.com/default.aspx"; I have even tried to hard code in my username/domain. Can someone help give me some insight on how to pass the current logged in user to the web browser control?