+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / How to use custom user and role hierarchy tables?

How to use custom user and role hierarchy tables?

4 posts, 0 answered
  1. KRISHNA
    KRISHNA avatar
    2 posts
    Registered:
    03 Oct 2011
    16 Nov 2011
    Link to this post
    Hi, I have a definite role hierarchy for the website users(can be in thousands, not sitefinity users) defined in a custom data table, say a bunch of user related tables. I'm building a new sitefinity website to replace the old one and would like to control the login access based on this table. Could you please let me know, how to do this in sitefinity?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    17 Nov 2011
    Link to this post
    Hello Krishna,

    You can implement custom membership and role providers or if you have implementation based on ASP.NET based providers you can plug them directly into Sitefinity.

    If you take the first approach you have to inherits from MembershipDataProvider and RoleDataProvider and get the data from your tables. Then plug both the providers in Sitefinity using Configuration.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. KRISHNA
    KRISHNA avatar
    2 posts
    Registered:
    03 Oct 2011
    17 Nov 2011
    Link to this post
    Hello Ivan,

    Could you please provide an example for the first approach.

    Thanks,
    Krishna.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    17 Nov 2011
    Link to this post
    Hello Krishna,

    Take a look at this post.

    http://www.sitefinity.com/blogs/slavoingilizov/posts/11-04-20/using_the_asp_net_sql_membership_provider_in_sitefinity.aspx

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

4 posts, 0 answered