I use System.DirectoryServices to authenticate users against active directory. this is my code
public bool Validate(string userId, string password) {