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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUpdating parent portal profile from child portal and vice versa.Updating parent portal profile from child portal and vice versa.
Previous
 
Next
New Post
3/9/2010 9:06 AM
 

I have a child portal that has a Dynamic Registration module on it just for updating accounts, all accounts are created in the parent portal. When the user passes from the parent portal to the child portal, an account is created for them in the child portal with all of their information.

When they update their account in the child portal, I want to also update their account in the parent portal and vice versa. What would be the best way to accomplish this? As far as I can tell I'll need to deal with the UserProfile, UserRoles, and Users tables.

Also, I will only ever have these two portals so Portal IDs are really of no concern.

 
New Post
3/15/2010 4:16 PM
 

Define what you mean by updating their account?  Are you looking for profile data to be updated or are you looking for permission information to be updated?

If its just profile data, and you want a quick hack you could modify the UpdateProfile stored procedure.  Currently it does:

update dbo.Profile set    ProfileData = @ProfileData,CreatedDate = getdate() where  UserId = @UserID and    PortalId = @PortalID

Just comment out the and PortalId=@PortalId

The right way to do it would be to modify the update profile control to make a call to each stored procedure for each portal you want to update.

 

 


Nick Christy Director of Technology, r2Integrated
 
New Post
3/15/2010 4:33 PM
 

Thanks Nick, I would also need to update some roles depending on what was updated in the Dynamic Registration Module.

I decided to make things easier on myself and just redirect the user to a registration page in the parent portal to update their accounts and then redirect back after they're completed. 

If I run into any problems with this implementation, I'll look into modifying the update profile control.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUpdating parent portal profile from child portal and vice versa.Updating parent portal profile from child portal and vice versa.


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