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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Unique profile for members across PortalsUnique profile for members across Portals
Previous
 
Next
New Post
5/25/2008 1:25 PM
 

I am developing a set of modules for some organization, that would deploy them across multiple related portals hosted collectively. Although the portals will have their own users, but if there is any common user on 2 or more portals with same username, he/she needs to have a unique profile across portals.

Moreover, all portals need to have same Profile Property Definitions. If a Portal Admin add or modifies a property name, it should propagate across portals.

There are 2-3 ways to achieve this, in the custom profile provider being developed.

The first one was to set all Definitons as System Definitions when being added & set their PortalID to -1. Would that resolve the issue??

The second one is to have a dummy portal at ID 0, which would never be accessed. However, whenever Profiles or definitions are being added or modified, the Provider can route all operations to Portal 0 definitions.

The third one is to have a normal Portal at 0th position & still route all Profile requests to it.

Which one is the best option??? And is there any better???

 
New Post
5/26/2008 2:34 AM
 

AFAIK your first solution is not supported, but there are 3rd party modules ( e.g. from UCanUse or DNNMasters) for achieving the 2nd one, check the Marketplace and SnowCovered for it.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/26/2008 4:05 AM
 

I mean I need to design the Module myself, for better integration with the rest of the modules. I was just looking for an advice on the best way to do it, while maintaining maximum compatibility with DNN core.

The way I plan to do it is to prepare a custom Provider. That provider would map all Profile requests for any portal to the default 0 portal when sending into the database, and on the way back, it encapsulates the resulting IDataReader in such a way that all other fields are directly passed on from the base DataReader, but PortalId field is mapped back again to the current portal id, in which the custom provider is executing.

Is there any chance of some issue with that approach?? Or is there a better approach???

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Unique profile for members across PortalsUnique profile for members across Portals


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