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 ...What is the reason for allowing duplicate user profile values?What is the reason for allowing duplicate user profile values?
Previous
 
Next
New Post
1/19/2015 1:21 PM
 
It appears the DB schema (specifically the table dbo.UserProfile) will allow duplicate profile values. There is and index (IX_UserProfile_UserID_PropertyDefinitionID) on the 2 columns UserID and PropertyDefinitionID as one might expect but it is NOT unique. What I'm I missing?
If there is a better forum to post this question please suggest, thx.
 
New Post
1/19/2015 6:06 PM
 
not sure - it would seem to be because the same user can exist in different portal's, but as property's are defined at the portal level that's pointless .Feel free to log it as a bug to support.dnnsoftware.com

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/19/2015 6:51 PM
 
I assume, in theory a property could assemble multiple values like "associations, you are member of".
However, there is no current core control for any of it and IMHO this is an area to Review for future improvement - although just modifying the unique index might break 3rd Party modules for user Profile management.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/20/2015 1:17 AM
 
Sebastian Leupold wrote:
I assume, in theory a property could assemble multiple values like "associations, you are member of".
However, there is no current core control for any of it and IMHO this is an area to Review for future improvement - although just modifying the unique index might break 3rd Party modules for user Profile management.

 I agree, but in looking at the API's I don't think it is possible for anything to violate this constraint currently


-Mitchel Sellers
Microsoft C# MVP, MCITP
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
1/21/2015 5:57 AM
 
Mitchel, in this case, I suggest modifying the index to prevent duplicate values.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...What is the reason for allowing duplicate user profile values?What is the reason for allowing duplicate user profile values?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out