Solved

How do I add the correct CreateUserWizard control data to ASPNETDB manually asp.net

Posted on 2009-06-27
2
240 Views
Last Modified: 2012-05-07
Can someone give me some code to add the CreateUserWizard control  data (that is done behind the scenes in the asp.net CreateUserWizard control  when a user clicks "create user") in the ASPNETDB manually. I want to create a system where I give the user a username and password on the fly. I want to use the ASPNETDB structure, but I am uncertain what data is essential to enter into it.
0
Comment
Question by:npl77
2 Comments
 
LVL 41

Accepted Solution

by:
guru_sami earned 500 total points
ID: 24731775
CUW doesn't provide your to override CreateUser event....
but you can use Membership API in this case.
Use Membership.CreateUser method to create the user.
It is the same method that CUW calls behind-the scene.

Check this: http://msdn.microsoft.com/en-us/library/system.web.security.membership.createuser.aspx

0
 

Author Closing Comment

by:npl77
ID: 31597642
Thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now