Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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 …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

16 Experts available now in Live!

Get 1:1 Help Now