Solved

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

Posted on 2009-06-27
2
242 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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