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 User Programmatically in 4.7Create User Programmatically in 4.7
Previous
 
Next
New Post
6/19/2008 2:03 PM
 

Never mind.

I used the SQL from an earlier post and it worked like a charm. I can use it from anywhere as long as I use the right connection string.

 
New Post
6/19/2008 2:11 PM
 
 
New Post
7/26/2008 11:05 AM
 

chris suttman wrote

I used the SQL from an earlier post and it worked like a charm. I can use it from anywhere as long as I use the right connection string.

The problem with using a sql script is that when you upgrade DotNetNuke it can break your code. The worst part about this is that you will not receive any notice of a "breaking change" because the database objects are not considered part of the DNN API because DNN can run on other database platforms such as Oracle.

The database objects in DNN do change frequently mostly due to optimizations.

If the DNN API does have a change it will be announced as a "breaking change". There have been no breaking changes to the user creation classes in years.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
7/26/2008 1:29 PM
 

Touching the core tables will change your upgrades and testing from a 1-4 hours project to a 8+ hour project.  You should not touch the CORE code or SQL Tables.  You can instead create a new table with a one-to-one relationship with the core users table that extends it with the feild that you need.

When searching for a solution to your problem of creating accounts on another DNN installation, you should consider another option that you have is moving the storage of the user data to another location (such as the same Database as your original DNN installation) through the use of custom membership providers.  You may even find a 3rd party Single Sign On solution that has done most of this work for you.

I have done this in the past, I had 4 DNN installations sharing a single DNN installation's users, but those users were assigned to very different roles from one site to another.  (The different sites were actually 3 competing companies in the same industry, using a common organization as a single sign on provider.)  The solution is no longer in use because of political and business reasons - but from a technical standpoint it worked perfectly.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create User Programmatically in 4.7Create User Programmatically in 4.7


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