title: How to validate username and password of user before log in in ASP.net Identity?
body: <p>In my ASP.Net application, want to validate username and password of users before logging them into the application. I am using ASP.net Identity framework for membership.</p>
  
  <p>Want to make sure whether the entered username and password exist or not.
  something like this one <code>Membership.ValidateUser(username,password)</code> which was used in default membership but can not be used with ASP.net Identity. 
  Tried this one but no luck?</p>
  
  <pre><code>var manager = Context.GetOwinContext().GetUserManager&lt;ApplicationUserManager&gt;();
  
  var signinManager = Context.GetOwinContext().GetUserManager&lt;ApplicationSignInManager&gt;();
  
  var user = manager.Find(userName,Password);
  </code></pre>