Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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