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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Membership provider questionsDNN Membership provider questions
Previous
 
Next
New Post
6/14/2006 7:28 PM
 

Hi,

I read some information awhile back that the new 4.3 release would include a new membership provider.  I've noticed that the web.config file confirms my suspicions, however I cannot seem to impliment this provider using the limited documentation available.

The thing that i'm most interested in is that I would like to have 1 username and password that can be assigned roles/permissions in multiple portals.  Is this something that was addressed by the latest update?  Is there plans to bring back this feature? 

Thanks.

 
New Post
6/15/2006 1:07 AM
 

Regarding your statement: "I would like to have 1 username and password that can be assigned roles permissions in multiple portals"

The answer is sort of: for all intents and purposes, most of the functionality of DNN 2.1.2 is back! Keep in mind that roles are still per-portal. When you create a new portal, that portal gets it's own new unique 'Registered Users,' Administrators and Subscribers roles, each with thier own new RoleID. There is a separate table, PortalRoles, that stores which roles are associated with which portal, and UserRoles, which maps UserID's to RoleIDs. It is trivial to manage these compared to the old system, and several great products existed for DNN 2.1.2 that should be easily modified by their vendors to the new provider: I think everyone will be very happy with this!!!

The user name, password, and email address ( I think display name and a few other fields) are shared among all portals, and specific details like street address, telephone number, those sorts of things are stored on a per portal basis.

I was able to create a new user account in a sub-portal, then using SQL Enterprise Manager, add that new user account's ID to the UserPortals table for the main portal. Then I added that account to the UserRoles table with the ID for the Registered User's role in the base portal, and logged on fresh into the new base portal.

I did experience an issue whenever I tried to update that newly created user's profile, got an error converting to int. Unfortunately, the install I was playing with is on my laptop, and it's configured for local access only so I can't copy there error in here. I will try to post the error when I have it if it isn't already a known issue.

-Kenneth S. Courtney
http://aciasoftware.com

 

 
New Post
6/15/2006 2:54 PM
 

First off i'd like to thank you for your reply.  In your Web.Config file do you have aspnetmembership provider set?  Is there a dnnmembership provider that was released with 4.3 or was it decided to stick with the microsoft provider and just hack it for a 2.12 style implimentation. 

The reason I ask is that the Microsoft membership provider did not store the member profile details using common relational database techniques which makes using them difficult if you are not using the .net class to retrieve the information.  Even then it was almost impossible to run a query for all people with xyz city or zip. 

 
New Post
6/15/2006 3:29 PM
 
We have abstracted the memberRole stuff into three providers:

Membership
Roles
Profile

The default concrete implementations are:

AspNetMembershipProvider - implements the membership components of MemberRole
DNNRoleProvider - uses purely dnn code/tables
DNNProfileProvider - uses purely dnn code/tables

So to answer your question, a bit of both !!

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Membership provider questionsDNN Membership provider questions


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