More in this section

Forums / Developing with Sitefinity / Custom ASP.NET RoleProvider with Sitefinity 5.0

Custom ASP.NET RoleProvider with Sitefinity 5.0

2 posts, 0 answered
  1. Brad
    Brad avatar
    1 posts
    Registered:
    21 Aug 2012
    18 Apr 2012
    Link to this post
    Hi There,

    I have followed the instructions here:
    http://www.sitefinity.com/blogs/slavoingilizov/posts/11-04-20/using_the_asp_net_sql_membership_provider_in_sitefinity.aspx 

    I have successfully got my MembershipProvider working. However the RoleManager (or any roles it contains) does not appear in the Sitefinity UI. I am using:
    <roleManager enabled="true">
          <providers>
        <clear/>
            <add name="AspNetSqlRoleProvider" connectionStringName="AspNetMembership" applicationName="/" type="System.Web.Security.SqlRoleProvider"/>
          </providers>
    </roleManager>

    I would expect AspNetSqlRoleProvider to appear in the Sitefinity backend UI.

    Sitefinity has an internal class RoleProviderWrapper which would appear to wrap standard ASP.NET role providers. How do I use this functionality?

    The related documentation here:
    http://www.sitefinity.com/documentation/documentationarticles/developers-guide/deep-dive/security 

    Thanks,
    Brad.


  2. Aaron
    Aaron avatar
    24 posts
    Registered:
    15 Feb 2008
    25 Apr 2012
    Link to this post
    Hey Brad, I have this same need and issue. Here is how Telerik responded to my support ticket.
    Very disappointing.

    Telerik Admin

    Posted on on Apr 20, 2012

    Hi Aaron,

    I apologize for the inconvenience this delayed response might have caused, and for the initial misleading. Actually the SqlRoleProvider is not supported in the Sitefinity 5.0 version, due to compatibility issues with the
    newly introduced Claims authentication. Please accept our apologies for this, and please keep in touch as we will announce if the support for the provider is resumed.

    Kind regards,
    Boyan Barnev
    the Telerik team
2 posts, 0 answered