Posted on: 10/10/2014 2:56:16 PM | Views : 568

Hi there,
It seems like I 'm asking questions about login pages using AD for ages and some of you might think of me as a nut but I'm having tough time.  I don't know what others are doing but I searched internet and I can find authentication against AD code samples for v1.1, v2.0 and IIS 6. Nothing useful comes up with IIS 7.5 and AD. Using web.config is simple, the only reason I want the username and password form is because I want to know which user logged in.
This time I have past .net error pages and I can see the actual login web page. that shows my AD username.  When I enter AD password and click login button, I call            
this.AutenticateUser(txtDomain, txtUser.Text, txtPassword.Text); private void AutenticateUser(string domainName, string userName, string password) { string adPath = "LDAP://activedirname: ...

Go to the complete details ...