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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Creating many usersCreating many users
Previous
 
Next
New Post
2/8/2007 1:38 PM
 

Is there an easy way to create many users from an external list that will also update the other needed information in my DNN DB, like the asp membership tables and  generate password, the userportal table and anything else I may have left out? 

I have tens of thousands of employees that I need to apply roles to but I can't seem to create accounts for them... but mainly my division which is 1000+.  All I have is a user name, last name, first name, email address through the employee phone directory flat file that I've imported in to a table in my DB.  FYI, I can't get permission to use Active directory - corporate security.

Thanks! Sherry

 
New Post
2/8/2007 2:00 PM
 

Sherry,

There are a few third party modules out there that offer import scripts.  Or you can write something custom to insert the users since you have the data in a SQL DB.  The scripts aren't all that hard.  If you want help with that route, send me an e-mail and I can see what I can do.


-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
2/8/2007 2:26 PM
 

 

I have script you can use if you can get them into XML format:

Importing Users to DotNetNuke


DotNetNuke Modules from Snapsis.com
 
New Post
2/8/2007 4:09 PM
 

Hey John,

It looks like there is a way to export tables to XML in SQL Server 2005. I'm going to see how this works.  But if you could give me the script that would be awesome...  

I did find a tool that was only a $1.50 - a web service, it didn't have much documentation and the last tool I bought had crappy support and parts of the module didn't work.  But I can handle blowing $1.50. 

 
New Post
2/8/2007 4:26 PM
 

I wouldn't recommend doing it via SQL Server 2005 itself. When a user is created in DNN, the passwords are encrypted based on the hashkeys from web.config. If you do this from the back-end, chances are that this will not occur.
If you're familiar with coding, look at the logic in Register.ascx.vb (found under the Website\Admin\security folder) and see what happens when you click on submit. The logic here is what is used to create a new user and it's pretty straight forward to use the function calls feeding it an excel spreadsheet/xml data or even data from another table and get it to create the users for you.
Additionally, if you go this route, you could also create the roles automatically for the newly created users based on whatever criteria your company has for placing users in roles.

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Creating many usersCreating many users


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