I need to programatically find the users name using C#. Specifically, I want to get the system/network user attached to the current process. I'm writing a web application that uses windows integrated security.
...
I am using IIS 6.0 and have a virtual directory setup. The server is setup on my company's intranet. Under the security settings, anonymous access is disabled, integrated windows authentication is enabled, digest authentication for windows domain servers is enabled, and the realm has our AD domain address.
Everything works fine with thi...
I have an ASP application that requires an authentication handler where it redirects users based on the AUTH_USER server variable.
I have IIS 5.1 on my PC and when enabling both Integrated Windows Authentication (IWA) and Anonymous this seems to work fine.
When I deploy to Windows Server 2K3 it all changes and with both IWA and Anonym...
On IIS6, using NTLM Authentication (meaning Integrated Windows Authentication) if the user cancels the authentication request, how can I redirect them to another page? I can't just grab 401 (tried) or 401.1 (not an int) in the web.config.
I can't redirect if the issue is a 401 status because I'm intentionally pushing for a 401 to get th...
There is an SAP server that has some webservices I need to use, so I am trying to use wsimport to generate the client stubs.
I don't want to find all the wsdls and schemas that are referenced and modify them to do it locally, as that isn't sustainable, if they service should change.
So, how can I use wsimport to fetch a wsdl and genera...
In .net when a website hosted in IIS how do you get the current user the website is running under. ie the Application Pool user not the the current user accessing the site.
Using windows integrated and impersonate.
<authentication mode="Windows"/>
<identity impersonate="true"/>
...
I have an application we bought that I need to integrate, and it uses jakarta connection to get to the application from IIS.
So, the basic operation is:
user goes to the url
Gets redirected to the application
SSO is enabled, so redirected back
to IIS for fetching of domain
credentials
Back to application
If username is blank show lo...