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  |  

  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

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


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  User Roles and portals
Previous Previous
 
Next Next
New Post 3/10/2006 9:12 AM
User is offline Brian Caskey
2 posts
10th Ranked


User Roles and portals 
Is it possible to share/pass user roles and security settings from one DNN portal to another, within the same DNN installation. Thanks.
 
New Post 3/10/2006 11:36 AM
User is offline Josh McWilliam
213 posts
www.brighthub.com
9th Ranked


Re: User Roles and portals 

That is not possible with the core Membership and Role Provider.  There are custom providers offered by 3rd parties that allow you to do this I believe.  Two that come to mind to check out might be DNNMasters (www.dnnmasters.com) and UCanUse (www.ucanuse.com).  I know they both do a lot with member management, and I think UCanUse has some sort of Multi-Portal user sharing module.  Snowcovered would be another place to look (www.snowcovered.com).


Josh McWilliam
Flatburger
Bright Hub
Jamnaytac Technologies
 
New Post 3/10/2006 5:14 PM
User is offline Kevin Schreiner
63 posts
10th Ranked


Re: User Roles and portals 

Actually, it can be done, but not without making modifications to the aspnet_ procedures. Changing the procedures will let you do exactly what you need, however, be very aware that these changes will be lost, and are not really advised unless you pay careful attention to them when upgrading - as they are modifications of the core sql.

If you choose to share these users between portals, it can be done quite easily actually. The limitation is caused because the aspnet_ application id's are not shared between portals. DNN integrated with aspnet membership model by using the PortalID as the ApplicationName with the aspnet_application table. To share users, you basically need to comment out the reference to the ApplicationID from within the procedures that specifically deal with selecting the list of users, or fetching users by name.  Once you comment out the specific areas where the Application ID is utilized, you will want to add a join in that joins on the UserPortal table - which will allow you to specify which users have access to which portal or portals.

It may take some time to look through and make some changes to the procedures, but it is well worth it - and it works! I have clients each with over 3,000 portals all sharing users between the portals.

Happy Nuking!



Kevin M Schreiner
[P] 410.327.0007 [F] 410.327.4082 | info@r2integrated.com
 
New Post 3/10/2006 5:27 PM
User is offline Josh McWilliam
213 posts
www.brighthub.com
9th Ranked


Re: User Roles and portals 
Awesome post man!  I'm curious to pick your brain on something.  What role do you think some sort of universal identity system could also play in solving this problem?  If there were some sort of central database of users that allowed people to login with their username not just in a single portal, but accross all DNN portals, or all sites, do you think that would be a good thing?  There are several universal id systems out there (MSFT Password, AOL SNS, iName, etc.).  Do you think it would be advantagous to either utilize any of these systems and/or have a common DotNetNuke universal ID system?  A system that would allow for a user to easily control their information and who they expose it to from a central interface, to all DNN portals that implemented such a system?
Josh McWilliam
Flatburger
Bright Hub
Jamnaytac Technologies
 
New Post 3/10/2006 5:41 PM
User is offline Nina Meiers
1737 posts
www.xd.com.au
5th Ranked




Re: User Roles and portals 

The  http://www.inventua.com passthrough module is what I'm using on my sites. I thnk you need to establish a master site first.. since synchronisation could run into a few challenges.

Hence, my http://www.xd.com.au website, for registered users  (this being because you need to transfer data and roles) allows you to be automatically signed in http://www.skincovered.com and http://www.modulereviews.com.

If you are logged into my site and click on the free skins page, there are two links to the sites which automatically register you.. and allow you to define a specific page on the new sites as a landing page.

It took me a bit to get going because I kept getting the settings reversed.but I have found it to be a very good way to handle multi site management. And I've gone down this path because I have heaps of information but can't seem get it working like I want on a personal website, but I can direct people to more specific information I'd like to share using this method and appreciate that it's very annoying to have to keep registering at times, so thought that Inventua came up with a great option - like all their modules - well written and useful.

Nina Meiers


Nina Meiers - XD Design - Professional, Ethical and passionate about DotNetNuke
Over 50 FREE DotNetNuke Skins

XD Design - xd.com.au by Nina Meiers
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  User Roles and portals
 


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.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
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