Hello,
I've got an ASP.NET page from which I'm trying to establish the domain username for the person who is browsing the page. The problem is that despite looking at Page.User.Identity.Name, System.Security.Principal.WindowsIdentity.GetCurrent().User and HttpContext.Current.User.Identity.Name, I still can't get anything meaningful. I've got windows integrated authentication enabled and Anonymous access disabled on IIS.
This might be further complicated by the fact that my users are all members of domain 'A', but my webserver is in domain 'B', and neither are trusted by each other. If this is causing the problem, is there any way I can give the webserver valid 'A' credentials to look up the user against the 'A' domain server? When the password box pops up, it won't accept 'A' credentials, but will accept 'B' credentials. Ideally, I don't want the user to have to log in at all - they should be logged into the site by virtue of the fact that they're logged into windows.
Thanks
I've got an ASP.NET page from which I'm trying to establish the domain username for the person who is browsing the page. The problem is that despite looking at Page.User.Identity.Name, System.Security.Principal.WindowsIdentity.GetCurrent().User and HttpContext.Current.User.Identity.Name, I still can't get anything meaningful. I've got windows integrated authentication enabled and Anonymous access disabled on IIS.
This might be further complicated by the fact that my users are all members of domain 'A', but my webserver is in domain 'B', and neither are trusted by each other. If this is causing the problem, is there any way I can give the webserver valid 'A' credentials to look up the user against the 'A' domain server? When the password box pops up, it won't accept 'A' credentials, but will accept 'B' credentials. Ideally, I don't want the user to have to log in at all - they should be logged into the site by virtue of the fact that they're logged into windows.
Thanks