Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Get or update user profile of a user not logged in
Previous Previous
 
Next Next
New Post 8/13/2008 2:54 PM
User is offline b471code3
134 posts
www.froggeyestudios.com
9th Ranked


Get or update user profile of a user not logged in 

I have a page I want to display and edit a users profile.  The catch is the profile is not the current logged in user.  I would like to pass a users id to get or update the profile.  How would I go about this?  When I get the information I do it this way:

 

Dim company As New ProfilePropertyDefinition
company = UserController.GetCurrentUserInfo.Profile.ProfileProperties.GetByName(
"Company")

 
New Post 8/13/2008 3:36 PM
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Get or update user profile of a user not logged in 

Dim users as New UserController()

Dim user as UserInfo = users.GetUser(PortalId, userId)

user.Profile.ProfileProperties.GetByName("Company")

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 8/13/2008 5:35 PM
User is offline b471code3
134 posts
www.froggeyestudios.com
9th Ranked


Re: Get or update user profile of a user not logged in 

This works great so now how do I update that the users profile I just got?

 
New Post 8/14/2008 8:59 AM
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Get or update user profile of a user not logged in 

I actually just answered this question the other day at http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/248271/scope/posts/Default.aspx.  Let me know if that is enough information for you.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Get or update user profile of a user not logged in
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP