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 ...Upgrading from 3.x and want to delete all usersUpgrading from 3.x and want to delete all users
Previous
 
Next
New Post
6/21/2007 4:04 PM
 

I am upgrading an old website that runs on 3.x .  I would like to keep the content but delete all the users/members except for host and admin, of course.  The database is so out of date it's worth starting from scratch.  There are about 8000 entries in the user db.  What's the easiest way to do this, please.

Thanks.

 
New Post
6/21/2007 4:40 PM
 

deleting all users is difficult, as most modules store references to the users (created by, last updated by). you need a strategy, how to solve this first.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/21/2007 4:44 PM
 

I don't think this will be a problem as we have never really used the "members" for anything other then a mailing list.  We have no member created content.  On this website we use DNN to simply deliver content.

 
New Post
7/6/2007 3:18 PM
 

Anyone have a sql query I could borrow ?  I promise to return it.

 
New Post
7/12/2007 6:26 PM
 

DECLARE

@userName nvarchar(256)

SET

@userName = 'Produc%'

--Delete entries that have FK to these use

--DotNetNuke tables:

 

delete

 

 

 

from dbo.aspnet_MembershipFROM dbo.aspnet_MembershipINNER JOIN dbo.aspnet_Users on dbo.aspnet_Users.UserId = dbo.aspnet_Membership.UserIdWHERE UserName LIKE @userName

delete

from dbo.aspnet_Users where UserName LIKE @userName

delete

from Users WHERE UserName LIKE @userName

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Upgrading from 3.x and want to delete all usersUpgrading from 3.x and want to delete all 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