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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Cant find profile details?Cant find profile details?
Previous
 
Next
New Post
9/5/2008 11:16 AM
 

Hi everybody.

We cant find the profile details of a user..? To be more specific...we coding an sms module for our project so we wanted to grab the cell number from a user's details. But we cant seem to find it anywhere in the tables (User, Profile, UserProfile etc)

Does anyone know where we can get it from?

I tried browsing the forums a bit..found the same question posted in June 2006 and no one replied to the poster..so Im hoping for more luck. ;)

thanks

Daryn

 
New Post
9/5/2008 1:23 PM
Accepted Answer 

If it isn't stored using the UserPersonalization code (in other words, saved as an actual profile property), then the values ARE stored in UserProfile table.  You need to find out what the PropertyDefinitionID of the property is and that is defined in the ProfilePropertyDefinition table.

Sample SQL script:

select * from UserProfile where PropertyDefinitionID = (select propertydefinitionid from ProfilePropertyDefinition where PropertyName = 'Cell' and PortalID = 0)


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
9/7/2008 4:55 AM
 

thanks bud. that makes sense.

We found it now. There was a cell number value in the UserProfile table...in the PropertyValue column along with many other different types of attributes. I guess we struggled to find it first because we naturally assumed the tables would be in third normal form. tsk tsk (we still fairly new to DNN)

 

thanks again.

 

 
New Post
9/7/2008 5:38 AM
 

customizable tables are often stored in a serialized format for greatest flexibility, otherwise you cannot provide separate table layouts per portal in a single table. Same method is used by UserDefinedTable :-)


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...DNN Platform (o...DNN Platform (o...Cant find profile details?Cant find profile details?


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