?
Solved

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

Posted on 2009-06-27
2
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 41

Accepted Solution

by:
guru_sami earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

762 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