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 ...Which table contains the stored info of a custom profile property?Which table contains the stored info of a custom profile property?
Previous
 
Next
New Post
11/21/2006 12:48 AM
 
The title says it all...

I digged through the tables and I just can't find in which table the custom profile properties are stored.

Anyone would happen to know?

Thanks in advance
 
New Post
11/21/2006 9:56 PM
 

there are two tables involved

DNN4_ProfilePropertyDefinition, associates a PropertyDefinitionID with the rest of the property description.

DNN4_UserProfile has properties for each UserID with the PropertyDefinitionID only.

Here is a way to get a value based on the property name:

SELECT @street = P.PropertyValue
FROM {objectQualifier}UserProfile P
JOIN {objectQualifier}ProfilePropertyDefinition D on P.PropertyDefinitionID = D.PropertyDefinitionID
and D.PropertyName = 'Street'

This was from Charlie at Beldin Technologies, who has a PDF report generator and was helping me build some queries for reports.

 
New Post
11/21/2006 11:09 PM
 
jspoon, does this cover personalized properties too?

I added a property called "Points" (all users have points they can spend) but I just can't find it

Maybe I'm blind or too tired to see it...
 
New Post
11/22/2006 5:10 PM
 

note, I only know about 4.3, so if you are using an earlier version, I have not ever looked at those tables.  It does include all properties as far as I know.  It contained the custom properties i created.

go into the SQL query and paste some of these queries...

/* get list of users and IDs */
SELECT * FROM DNN4_Users

/* get all the data for a specific user */
SELECT * FROM DNN4_UserProfile
WHERE UserID = 4

/* get the list of properties and their IDs */
SELECT * FROM DNN4_ProfilePropertyDefinition

/* get the information, including the ID for a specific property, can be more than one for some... */
SELECT * FROM DNN4_ProfilePropertyDefinition
WHERE PropertyName = 'FirstName'

hope this helps

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Which table contains the stored info of a custom profile property?Which table contains the stored info of a custom profile property?


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