I want to implement membership where email is used as the user id. Is there a ready-made provider for this, or do I have to write my own one? Or should I just make do with the ‘default’ one?
Share
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.
You can use the default Sql provider stack without modification.
Simply use an email address as
UserName(or login id) when creating the user.Please know that
UserIdis an interal surrogate key.I think that you are conflating
UserName(or login id), which is astringand can contain an email address, with theUserIdcolumn in the membership database, which is aGuidand should not be changed.