| penra wrote
What syntax would you use? Can you show a specific example of adding a user (can you add groups?) to another portal?
thank you mcsenow!
|
The solution is database trigger in the event of insert or update to DNN User table. When you add a new user or update an existing user, the trigger will automatically run to setup the user as share user to all portals (parent and childs).
Example 1 - if you have a parent portal and 5 child portals. You add a new user "penra" to the parent (or any child) portal, the same account (penra, pw) can be used to login other portals (ex. the 5 child portals).
Example 2 - if you have an existing user "penra2" in the parent (or amy child) portal and you use the Admin -> User Manager to update the account, the trigger will set up penra2 account to share among all portals.
Keep in mind that the existing accounts that were setup in DNN before the trigger was added will not be setup as share accounts among the portals UNLESS the accounts are updated (by admin via User Manager screen or by individual via profile screen). This is because the trigger will not run unless there is insert or update event to table DNN user.
Hope this helps.