Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Users from applicationCreate Users from application
Previous
 
Next
New Post
3/7/2007 11:09 AM
 

I have installed DNN 4.4.1 and i must create about 3000 users. In the future i must create new users directly from another application.

How can i do it?

Thanks

Enrico

 
New Post
3/7/2007 12:01 PM
 

From another application you have 2 options.

1.  Add a reference to DotNetNuke in your other application and use the API's to insert users..(Most likely the "better" idea, due to issues if future information changes....)

2.  Manually create the users using the various stored procedures available.....You can view some tutorials on my site http://www.mitchelsellers.com on how to create users via SQL. 

Some people would say that creating the users outside of the API is not a good idea as it could introduce issues, which might very well be true in future versions of the application, however it most likely will be faster and I am not sure how many changes actually would occur with the user account setup..


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
3/9/2007 4:45 AM
 

Thanks for the information but i have some problems.

1. The application that must create new users is written in VB6 and i can't reference DotNetNuke and use API's.

2. In your example i must know the password crypted, how can i create it for a new user?

Enrico Zampini

 
New Post
3/13/2007 2:33 AM
 

Directly accessing the DNN data is not really a great way to go - given encryption issues and the need to access the membership datastore - that stuff is best left up to the API.

So since you need to use vb6 - and assuming this Vb6 application has some ability to access the live website.

It seems that a workaround for your problem may be to create a DNN module that the VB6 application can call to add users.

the vb6 makes a http call like:

http://www.mysite.com/default.aspx?tabid=101&myusername=username&myfirstname=firstname etc etc

the module on tabid 101 = processes the request and displays a message like

###SUCCESS###

or

###FAIL###

You can then process the returned page in vb6 and proceed from there.

 
New Post
3/21/2007 11:47 AM
 

I'd like to see the tutorials you refer to but I don't find them on your site, could you give us a url please??

thanks!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Users from applicationCreate Users from application


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out