473,465 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Creating Users Manually

Hi There,

I am creating an ASP .NET 2.0 web page using c#.

I am using the 'CreateUserWizard' control to add users to my site. Just
wondering whether there is a programatic way to do this.

E.G. I want to create a spreadsheet with 50 users details on it, and
then want to load that in and create the users in the database.

The uncertainty I have at the moment is actually taking the records and
putting them into the database. Is there a method somewhere as part of
the 'CreateUserWizard' which will take the persons details and insert
it into the database. I can't just insert all the data in the database
because the 'CreateUserWizard' automatically adds stuff to a bunch of
tables, and also encrypts the password and all that.

One other alternative is to programatically set the fields to add the
users one at a time into the 'CreateUserWizard' control I have on my
page, and then force it to click the button. My question is how can I
force it to click the button?

Thanks,

Peter.

Mar 13 '06 #1
1 1163
Hello Peter,

Anything the login controls or the webadmin tool can do, you can do
programatically. They are wrappers for the api. You can create a user
programatically using the Membership.CreateUser() method. See the docs for
more info on the Membership classes in general.

--
enjoy - brians
http://www.limbertech.com
"BobLaughland" wrote:
Hi There,

I am creating an ASP .NET 2.0 web page using c#.

I am using the 'CreateUserWizard' control to add users to my site. Just
wondering whether there is a programatic way to do this.

E.G. I want to create a spreadsheet with 50 users details on it, and
then want to load that in and create the users in the database.

The uncertainty I have at the moment is actually taking the records and
putting them into the database. Is there a method somewhere as part of
the 'CreateUserWizard' which will take the persons details and insert
it into the database. I can't just insert all the data in the database
because the 'CreateUserWizard' automatically adds stuff to a bunch of
tables, and also encrypts the password and all that.

One other alternative is to programatically set the fields to add the
users one at a time into the 'CreateUserWizard' control I have on my
page, and then force it to click the button. My question is how can I
force it to click the button?

Thanks,

Peter.

Mar 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: shank | last post by:
I need advice on how to get started with this project. I want a page where a user can manually enter an order. Our users know our order# system and it's much easier to manually enter items as...
8
by: Brian S. Smith | last post by:
Hi gang, Please help. I've been through the Access help, searched the Web, and I can't seem to get a straight answer. As the Subject line suggests, I want to run a fairly simple VB/Access Sub...
0
by: Steve | last post by:
Some end users are getting the following message after being in the application for quite some time. Exception Type: System.ComponentModel.Win32Exception NativeErrorCode: 14 ErrorCode:...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
2
by: Vayse | last post by:
Hi On the company server, there is a folder for each client. This folder should be named after the Clients 6 digiit ID. At the moment, the folders are created manually by users. Of course, this...
10
by: jflash | last post by:
Hello all, I feel dumb having to ask this question in the first place, but I just can not figure it out. I am wanting to set my site up using dynamic urls (I'm assuming that's what they're...
16
MitchR
by: MitchR | last post by:
Hi All; I have a form that contains a textbox control called CPUServicetag (Serial number). My users enter in the CPUServicetag manually. My question is this ... How do I go about creating an...
6
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.