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...Using Modules a...Using Modules a...How to get user biographyHow to get user biography
Previous
 
Next
New Post
10/11/2011 12:13 PM
 
Anyone able to provide a little more help on this.  Plan B is a LINQ or SQL query, but I would rather get the api working.
 
New Post
10/12/2011 2:31 AM
 
I'm hoping to get some time this weekend to look into this but unfortunately am up to my eyes in work at the moment.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/12/2011 11:47 AM
 
Thanks for looking at the Cathal.  I'll hold off on doing more on this and do something else until you have had a look at it.
 
New Post
10/16/2011 1:49 PM
 
ok, finally had some time to look at this. Basically the a userprofile object hangs off the profile property of the userinfo object. The userprofile object has some helper properties allowing strongly typed access to common properties, but also supports using a method to retrieve less common/custom profile properties -as you're accessing a property that doesnt have a helper property you need to use the one of the following (where user is a userinfo instance

user.profile.GetProperty("Biography")
or else
user.profile.GetPropertyValue("Biography")


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/17/2011 11:15 AM
 
Thanks for more great help Cathal.   Every thing is working now.  Just changed the line in my code to:

userInfo.Controls.Add(new Label() { Text = user.Profile.GetProperty("Biography").PropertyValue });

Steven
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to get user biographyHow to get user biography


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