Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom verification of password in ASP.NET SimpleMembership

I would like to verfiy a password, stored by SimpleMembership Provider. I have a website, made with ASP.NET 4.0 MVC using SimpleMembership and a backend admin tool made with ASP.NET WebForms 4.0. Due to the fact, that SimpleMembership needs ASP.NET 4.5, i would like to verify the login password by myself instead of updating the whole admin website to v4.5.

How to do that?

like image 878
Christian Oppermann Avatar asked Nov 19 '25 17:11

Christian Oppermann


1 Answers

Just call Membership.ValidateUser(username, password)

like image 106
Erik Funkenbusch Avatar answered Nov 21 '25 09:11

Erik Funkenbusch