Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  creating users by adding records directly to the dnn table in dnn4
Previous Previous
 
Next Next
New Post 6/19/2006 4:28 PM
User is offline gopher_49
77 posts
10th Ranked


creating users by adding records directly to the dnn table in dnn4 
Is there a way that I can push records from a db directly into the user tables in the dnn db and actuall create users when doing this?   My developer and I are looking at various modules that will grab records from one db and create users based on those records.  We'd rather skip the module and do it ourselves.  How can I directly create users by simply adding records to the dnn user table?  What actually happens in regards to the db when a user is created? 
 
New Post 6/19/2006 8:29 PM
User is offline Fuji Nguyen
194 posts
9th Ranked




Re: creating users by adding records directly to the dnn table in dnn4 
DNN has internal table (Users, Roles, etc.) that have lazy sync to Microsoft membership tables (aspnet_users, aspnet_roles).  The best bet is to use existing DNN code to add users.   Check out web site http://opensource.indyneinc.com/home/DevX/Articles/SingleSignOnforDotNetNuke3/tabid/99/Default.aspx.  This site has opensource project to import user record from external source into DNN.  Maybe with SQL2005, you can call CLR DLL to import users within Store Proc.
Fuji Nguyen
FREE Visitor Hit Counter
Visit opensource.indyneinc.com for detail.
 
New Post 6/20/2006 12:36 PM
User is offline Edward Beck
190 posts
9th Ranked


Re: creating users by adding records directly to the dnn table in dnn4 
Modified By Edward Beck  on 6/20/2006 2:37:01 PM)

In DNN4 - it's using the .net 2.0 membership, so it should go through the provider normally. Before getting on DNN, I wrote a web script to shove 15,000+ users into the 2.0 membership tables via the provider, but I haven't played with it within the DNN structure. 

You don't have to use the provider - but then you'd need to be familiar with the encryption routines - doable, but I found it too much digging in to get ahold of when the tool was already built to use.  Just needed to figure it out.  I'll see if I can find it if you like. 

For that SSO link - anyone used it on DNN4 with .net 2.0 membership?  The date, code and DNN 3 reference leads me to believe this is for .net 1.1 version only. 

 
New Post 6/20/2006 11:13 PM
User is offline Crispy
3433 posts
www.apptheory.com
4th Ranked










Re: creating users by adding records directly to the dnn table in dnn4 

You guys need to all be careful in whatever you are working w/ to import users now that dnn 3.3.x/4.3.x have released. Considering the API was rewritten I am not certain there is anything that exists currently that will work without flaws. Since the API is new as well, you really need to focus on the abstract provider to see how it adds users based on the currenly set providers in the web.config. Now, this affects Users, Roles, UserRoles, UserPortals, UserProfile, ProfilePropertyDefinitions, and some of the aspnet_ tables by default. See my blog post for more details, but I really think a new app that is a dnn module or a windows app which references the DotNetNuke.dll is probably the best way to make this happen. I mean, you still have to deal with encryption, and(because its a very new release) nobody has updated to the latest API yet in their modules.

I am just saying there is potential here for a disaster if one thing is not handled properly.



 
New Post 6/21/2006 8:09 AM
User is offline Timo Bredenoort
1 posts
10th Ranked


Re: creating users by adding records directly to the dnn table in dnn4 
 Crispy wrote

You guys need to all be careful in whatever you are working w/ to import users now that dnn 3.3.x/4.3.x have released.

I am just saying there is potential here for a disaster if one thing is not handled properly.

You can say that again, our replacement-providers for 3.2.x (which where all outside of the core) need quite a big overhaul to them to work again. The 'old' style was pretty usable (from an extensibility-viewpoint) Now I have to re-invent a lot of stuff (especially in the MembershipProvider ) It's somewhat of a shame the changes to the asp.net2 security-implementation of DNN were not logged. Would have saved my quite some time.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  creating users by adding records directly to the dnn table in dnn4
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com
Smart-Thinker
DNN Modules for Social Networks for as low as $69 for 6 modules! We also maintain the DotNetNuke Directory - http://DNNDir.com
www.smart-thinker.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP