Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Membership.CreateUser without password question & answer

Status
Not open for further replies.

DatabaseDude

Programmer
Nov 7, 2005
112
0
0
US
Membership.CreateUser takes arguments for username, password, email, password question, and password answer. However, in the current project, we're not using the security question and answer.

Does it matter what is entered for the question & answer? They're required, apparently.

This works ...

Code:
Dim Status As MembershipCreateStatus
Dim User As MembershipUser =    
     Membership.CreateUser(txtUserName.Text, _
     txtPassword.Text, txtEmail.Text, _
     "something", "else", True, Status)

... but I didn't want it to come back and bite me at some point in the future!

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top