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.0Custom RoleProviderCustom RoleProvider
Previous
 
Next
New Post
5/19/2006 12:47 AM
 

Hi,

I'm trying to use Dot Net Nuke to build a website that will be linked to another websites membership user base.
e.g. So I can log into the new DNN website using my old database schema / users / profiles and roles, which is somewhat quite complex, but still meets the basic membership model of having users and roles.

So far I have written my MembershipProvider, ProfileProvider and they work fine which is good.

However the RoleProvider doesn't seem to work at all, or at least from my brief look into implementing it.
The actual RoleProvider class was easy to write and plug in. as in the Interface of returning a string[] of roles/usernames etc.
If I log in as one of my users from my database, and the IsUserInRole('Administrators') function returns true from my custom RoleProvider, DNN doesn't seem to even care what my RoleProvider returns.

Is there anyone out there who has successfully implemented a custom RoleProvider for DNN??

Can one of the developers who worked on this model, provide me with any hints or tips to get this working?
Or maybe an explanation as to why the DNN RoleProvider model doesn't work?
Would really really appreciate some help..

 

Thanks,
Nigel

 
New Post
5/19/2006 5:40 AM
 

You might like review the new Membership role coming out and currently being Beta Tested at the moment - it's got extra functionality in it which is outstanding. I've got some screen shots on my site - http://www.xd.com.au/blogs.xd where you can see how they look.

Charles Nurse is the developer of this and this promises to be a new dimension to DotNetNuke - it's taken several months and it shouldn't be too long before it's released.  There is more information on the blogs page by Charles Nurse if you want to read more.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
5/23/2006 2:41 AM
 

Hey, if theres any way I can help with this, I'm happy too.
I can do some beta testing etc.. or whatever.

I'm quite keen to get this working, as it would be great for me, and I'm sure any one else wanting to use their own membership/role/profile providers.

Again, if anyone has had any success with this, I wouldn't mind knowing how they went about it.

I'm thinking I may have to modify the source code to get this working how I want it to, but I really don't want to do that as it could possibly make updates of DNN more challenging.

Thanks,

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom RoleProviderCustom RoleProvider


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