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...SQL and SQL Ser...SQL and SQL Ser...SQL to update a user profile itemSQL to update a user profile item
Previous
 
Next
New Post
6/26/2010 9:16 AM
 
FYI: there are additional user data stored in aspnet_* tables

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/26/2010 10:19 AM
 
Sebastian,

Thanks for the additional information.
Okay, let's say I add the new ProfileProperty throught the "Manage Profile Properties" page.
Then I use a series of SQL statement to check if the newly added PropertyDefinitionID exist, in dbo.UserProfiles, for a specified UserID.
 If not I add the necessary fields else I update the value to the desired value.
Do you think I have to worry about the aspnet_ * tables at any point here?

Thanks again
 
New Post
6/26/2010 10:54 AM
 
Chris, aspnet_profile table is no longer used, only membership and users, i.e. any modifications to profile properties in DNN UI affect ProfilePropertyDefinitions and UserProfiles tables only. If you are creating custom modules, you should access profile data using DNN business objects instead of accessing database yourself. If you are trying to access it from another application, you have to access database or use web services you create in your DNN (see iweb.adefwebserver.com). Accessing the database directly is not suggested, as the structure may change in the future and data you change may not be effective in DNN immediately due to caching.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/26/2010 10:55 AM
 
Hello Chris,

I think that Sebastian was pointing out that those tables exist and may at some point in the future be interesting.  For your profile work, you will not need to worry about them, other than for night time reading when you have an iPad.

I live in hope,

Mark

Mark Breen Ireland 1987 BMW R80 g/s
 
New Post
6/26/2010 5:11 PM
 
Once again I thank you both for the information; however, I am left with only one question.  What to heck is an iPad and why would anyone want one?:)
 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...SQL to update a user profile itemSQL to update a user profile item


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