Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...Delete Users on DNNDelete Users on DNN
Previous
 
Next
New Post
7/9/2014 2:46 PM
 

We are using 5.4 DNN, and what I need to do is to dis-activate some users by execute the SQL statement.

Meaning we have drop down to let user select user name to be dis-activate. Then run the SQL to update the database.

1, which tables in SQL i need to look at for disactivation?

2, In current DNN, which stored procedure is used when the user unauthorized the account in DNN?

 

Thanks 

 

 
New Post
7/9/2014 5:03 PM
 
there are a number of tables involved to delete a user.
To deactivate (soft-delete) him, you need to
UPDATE UserPortals SET isdeleted = 0 WHERE UserID IN (SELECT UserID FROM USERS WHERE LoginName = 'myusername')

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/10/2014 2:12 AM
 
Hi
You can look into the stored procedures "DeleteUserPortal" and "RemoveUser" with caution.

Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
7/18/2014 12:45 PM
 
Thank You. that is working to me. Because of the soft delete, it raises another question related to New Letter Dnn Modules. This new Letter modules allows user to select the ROLE to send bulk email (new letters). In this case, if I already soft delete a particular email (isDelete = 0), will the new letter modules still send email and filter isDelete=0 out?
 
New Post
7/18/2014 2:59 PM
 
I would expect the module to exclude soft deleted users - I am not 100% sure - when I reworked the module for DNN 4.x, soft delete was not present.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...Delete Users on DNNDelete Users on DNN


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