Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 05, 2013 01:57 AM by CPrakash82
Jan 04, 2013 11:18 AM|LINK
I am using SimpleMembershipProvider and I want to validate users. But according to
I should not initialize with WebSecurity.InitializeDatabaseConnection() and instead
enable standard membership and role providers.
How can enable it? thanks
Jan 05, 2013 01:57 AM|LINK
You should be able to configure the membership and role provider and then use below lines to call ValidateUser Method.
var membership = (SimpleMembershipProvider) Membership.Provider;
refer this article.