Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It seems you require a mix of Windows and Forms authentication : <em>The requirement is that the user should not be prompted for credential instead should be shown the current Login page</em></p> <p>Thought to share this . May be it can help you as mostly I have seen people to like the second below mentioned solution a lot. ( <em>Atleast when they read it</em>.)</p> <p>If you're in classic mode - you can have both Windows and Forms authentication. An alert will pop up </p> <pre><code>Challenge-based and login redirect-based authentication cannot be used simultaneously </code></pre> <p>you can however ignore this warning. CarlosAg says that: </p> <pre><code>we decided to leave it there was because it is still behavior that many user scenarios would be consider incorrect, since most of the time forms authentication uses anonymous authentication and not windows. </code></pre> <p>Read <a href="http://forums.iis.net/t/1174844.aspx" rel="nofollow noreferrer">here.</a></p> <p>Now when you want to use integrated mode, This stack question : <a href="https://stackoverflow.com/questions/4021905/iis7-challenge-based-and-login-redirect-based-authentication-cannot-be-used-simu">iis7 Challenge-based and login redirect-based authentication cannot be used simultaneously</a> leads to this famous link: <a href="http://mvolo.com/iis-70-twolevel-authentication-with-forms-authentication-and-windows-authentication/" rel="nofollow noreferrer">http://mvolo.com/iis-70-twolevel-authentication-with-forms-authentication-and-windows-authentication/</a>, which allows to change the authentication way for a page. Another way you can manage this when using windows authentication is to manage usernames using code:</p> <pre><code>string user = Request.ServerVariables["LOGON_USER"]; </code></pre> <p>Refer this link: <a href="http://beensoft.blogspot.in/2008/06/mixing-forms-and-windows-authentication.html" rel="nofollow noreferrer">http://beensoft.blogspot.in/2008/06/mixing-forms-and-windows-authentication.html</a> , which gives a different way of mixing Forms and Windows authentication.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload