Custom ASP.NET RoleProvider with Sitefinity 5.0

Posted by Community Admin on 04-Aug-2018 00:11

Custom ASP.NET RoleProvider with Sitefinity 5.0

All Replies

Posted by Community Admin on 18-Apr-2012 00:00

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.


Posted by Community Admin on 25-Apr-2012 00:00

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

This thread is closed