Hi all,
I believe I don't understand exactly how these types of authentication work.
I have an IIS 7.5 web server running on a Win7 client. The IIS Authentication is set on Windows Authentication.
On the same machine I have the website that has a login page, as seen below:
<form id="form1" runat="server">
<asp:Login id="Login1" runat="server" onauthenticate="Login1_Authenticate"
height="104px" width="234px" usernamelabeltext="Employee ID:" >
</asp:Login>
</form>
and the code behind the page is:
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
//Log In control
using (PrincipalContext pc = new PrincipalContext(ContextType.Domain, "corp.mycompany.com"))
{
// v ...
Go to the complete details ...