creating custom membership and role provider
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
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
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.