I have developed a CreateUser.aspx (using asp.net default membership), that the admin uses to set up new users.
The application is ready for testing and I need to set up close to 300 users. Is there a way to programmatically setup these 300 users apart from manually creating them one by one?
alqp70
Member
3 Points
4 Posts
Creating multiple users at a go
Feb 21, 2012 03:48 PM|LINK
Hi,
I have developed a CreateUser.aspx (using asp.net default membership), that the admin uses to set up new users.
The application is ready for testing and I need to set up close to 300 users. Is there a way to programmatically setup these 300 users apart from manually creating them one by one?
Regards,
Alex
bbcompent1
All-Star
32994 Points
8509 Posts
Moderator
Re: Creating multiple users at a go
Feb 21, 2012 03:57 PM|LINK
If you have an excel sheet with these usernames/passwords, you can do it the way shown in this link: http://forums.asp.net/t/1212053.aspx
adeelehsan
All-Star
18279 Points
2733 Posts
Re: Creating multiple users at a go
Feb 21, 2012 03:58 PM|LINK
Yes, you can create user accounts programmtically.
See the following links:
http://imar.spaanjaars.com/472/creating-aspnet-users-programmatically
http://www.asp.net/web-forms/videos/authentication/creating-user-accounts-programmatically
MCPD ASP.NET 4.0 and 3.5, MCTS WSS, MOSS, SharePoint 2010, MCT
Microsoft Community Contributor Award 2011