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...Delete User IssueDelete User Issue
Previous
 
Next
New Post
7/30/2007 3:59 PM
 

If that is the case you can easily identify all foreign keys using the "sp_help users" command.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/30/2007 4:20 PM
 

Nothing that is not a DNN Core or DNN avatilable Module Table. This is also a brand new user.

 

Table is referenced by foreign key
-------------------------------------------------------------------------------------------------------------
WBIDNN.dbo.Blog_Blogs: FK_Blog_Blogs_Users
WBIDNN.dbo.FolderPermission: FK_FolderPermissionUsers
WBIDNN.dbo.ModulePermission: FK_ModulePermissionUsers
WBIDNN.dbo.Profile: FK_Profile_Users
WBIDNN.dbo.Store_Addresses: FK_Store_Addresses_Store_Customers
WBIDNN.dbo.TabPermission: FK_TabPermission_Users
WBIDNN.dbo.UserPortals: FK_UserPortals_Users
WBIDNN.dbo.UserProfile: FK_UserProfile_Users
WBIDNN.dbo.UserRoles: FK_UserRoles_Users
WBIDNN.dbo.UsersOnline: FK_UsersOnline_Users


Steve
---------------------------
Form Master
Form Creation Module
Code 5 Systems, LLC.
 
New Post
7/4/2008 2:41 AM
 

Same issue here. In our environment though I have lots of user Modules etc. So it might have been caused by one of them. In the end it turned out that the UserProfile wasn't getting deleted.

In our environment everyone has Custom Profile Properties but for those of you see this intermittently. My guess on this being that the users that have custom profile Properties defined won't delete and the users that don't have any will. To patch this I changed the delete users sproc by running the following. Everything appears peachy now.

set

ANSI_NULLS ON QUOTED_IDENTIFIER ON

GO

ALTER

@UserID

as

delete

procedure [dbo].[DeleteUser]int from dbo.userProfile

where

UserId = @UserID

delete

from

dbo.Users

where

UserId = @UserID

set

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Delete User IssueDelete User Issue


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