Hi all
I have had to build a custom createuserwizard equivalent for work, still using the default membership provider though.
When I try create the user (RequiresQuestionAndAnswer is set to false for the provider), it still has issue that I do not provide them. I have dug around on MSDN and various blogs, all show the same code I have but it does not work.
The only way I can see around is to provide a question and answer for every user, as a hack - but I'd prefer not to.
The reason I am using the overload that includes the question and answer is that I need to return the MembershipCreateStatus.
Any help would be very very appreciated. Thanks.
Dave
protected void btnCreateUser_Command(Object sender, CommandEventArgs e)
{
if (e.CommandName == "CreateUser")
{
MembershipCreateStatus status;
string passwordQuestion = "";
string p ...
Go to the complete details ...