iBlog

Trevor Johnson
posts - 6 , comments - 12 , trackbacks - 0

My Links

News

Archives

June 2010 Entries

MVC & Windows Authentication
Okay so basically all we are doing here is changing the ValidateUser function so that it makes an LDAP connection using the username and password passed from the LogOn view form. If it succeeds, we have a vaild user and password combination. Changed ValidateUser function. // new for authentication using System.DirectoryServices;using System.DirectoryServices.Pr... System.Net; public bool ValidateUser(string userName, string password) { bool validation; try { LdapConnection ldc = new LdapConnection(new ......

Posted On Thursday, June 17, 2010 9:13 AM | Comments (1) |

Powered by: