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???