creating custom membership and role provider

Posted by Community Admin on 03-Aug-2018 14:38

creating custom membership and role provider

All Replies

Posted by Community Admin on 01-Sep-2013 00:00

Hi
I have to create custom membership and role provider in sitefinity 6.0 and also using these roles i have to set permission for the pages . how to achieve this.


 please help me

Thanks

Posted by Community Admin on 02-Sep-2013 00:00

Hi Sreeraj,

There now is an article inside the documentation that shows you how to create a custom MembershipProvider.

http://www.sitefinity.com/documentation/documentationarticles/creating-a-custom-membership-provider

To create a custom RoleProvider you can create your own class and inherit from RoleDataProvider.
If you have any questions, let me know.

Kind regards,
Daniel

Posted by Community Admin on 12-Sep-2013 00:00

Could we get an identical code example for a custom RoleDataProvider?  I've hacked my way around putting pieces together from documents and the forum to get my custom member and role providers but I was always missing pieces to get it to work 100%.  With the membership code example it took less than an hour to fill in my gaps.  Given the CMS is all about customization I think it only makes sense to provide the same code example for roles.  Thanks.

This thread is closed