Using the built-in ASP.NET Web Profiles, how do I create a user account that is Inactive (i.e., Active == false) and then later (for example, after sending the user an activation link in an e-mail) set their profile to Active?
Thanks,
Jay
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at the
IsApprovedproperty of theMembershipUserclass here.If
IsApprovedis set to false, validation for the user will fail even if the the username and password are correct.