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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...about soft-deleted users and the IsDeleted flag in DNN 5.1about soft-deleted users and the IsDeleted flag in DNN 5.1
Previous
 
Next
New Post
7/20/2009 3:43 PM
 

Hi,

In DNN 5.1 users are soft-deleted.

If I delete a user, and see results for select * from UserPortals, then I see the IsDeleted = 1 for the deleted user (and therefore I see the same when doing a select * from vw_Users).

However if see the results for select * from users, then I see the IsDeleted = 0 for the deleted user.

Does anybody know the reason for this behavior?

Thanks,

Horacio.-

 
New Post
7/20/2009 4:03 PM
 

 I don't know for realies sure - but a quick thought on it would be that users can be across multiple portals if you use the same account name/email/password/(maybe more) when signing them up at the other portal. So when deleting from a portal, you would only want it to be removed from that portal.

 
New Post
7/20/2009 5:39 PM
 

some user data needs to be hydrated to be accessible, this includes membership and profile data. I haven't checked, whether this affects isdeleted as well - and AFAIR there have been a couple of issues regarding soft deleted users been fixed for DNN 5.1.1 already.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/20/2009 5:42 PM
 

Baatezu wrote

 I don't know for realies sure - but a quick thought on it would be that users can be across multiple portals if you use the same account name/email/password/(maybe more) when signing them up at the other portal. So when deleting from a portal, you would only want it to be removed from that portal.

 

humm... Besides 'Host' users and a possible 3rd party trick, users are 'per portal'. A UserId is not shared among portals.

on Twitter, @BrandonHaynes replied: Users.IsDeleted is a flag for host users; non-host deletes are persisted via UserPortals.IsDeleted.  A bit unintuitive, yes.

 

Therefore, if this is 'on porpoise' (not a bug), then I can live with this :)

Thanks for the feedback!

Horacio.-

 

 
New Post
7/20/2009 6:03 PM
 

 to be more precise: users are not per portal, but there is a portal membership record in userPortal table for all non-superusers, which overrides the users.isdeleted flag. HTH


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...about soft-deleted users and the IsDeleted flag in DNN 5.1about soft-deleted users and the IsDeleted flag in DNN 5.1


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