Try Now
More in this section

Forums / General Discussions / creating custom membership and role provider

creating custom membership and role provider

3 posts, 0 answered
  1. Sreeraj
    Sreeraj avatar
    4 posts
    20 Jun 2013
    01 Sep 2013
    Link to this post
    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

  2. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    18 Feb 2004
    02 Sep 2013
    Link to this post
    Hi Sreeraj,

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


    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,
  3. cli
    cli avatar
    50 posts
    21 May 2007
    12 Sep 2013 in reply to Daniel Plomp
    Link to this post
    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.
3 posts, 0 answered