More in this section
Forums / Developing with Sitefinity / Feature Request: Role Provider Overload

Feature Request: Role Provider Overload

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Michael Russell
    Michael Russell avatar
    11 posts
    28 Jan 2009
    03 Dec 2009
    Link to this post
    Problem Description:

    We are trying to shift to use our AMS for handling authentication to simplify our codebase and make it so our customer service reps can remain in a single application when assisting our users.  I have built a Membership Provider and have hooked it into a skeletal Sitefinity 3.7 SP1 site.  When switching to "Administration > Users," the site times out while loading our 76,000+ users.  As a workaround, I'm temporarily suppressing the "Everyone" group.


    Sitefinity calls GetUsersInRole for each role in order to create the count on the left side.


    Similar to how MembershipProvider encourages paged access via GetAllUsers(), FindUsersByName() and FindUsersByEmail(), please add into Sitefinity 4.0 an extended/revised base provider class to allow Sitefinity to do paged access into users.

    Secondary Request:

    Please use the paged access functions for GetAllUsers(), etc.  It is disappointing seeing stack traces that start with...
         SitefinityAptifyLinks.DLL!SitefinityAptifyLinks.AptifyMembershipProvider.GetAllUsers(int pageIndex = 0, int pageSize = 2147483647, out int totalRecords = 76167) Line 125 + 0x19 bytes    C#

    There is no reason to get EVERYONE when you'll only be displaying 25 people and you get the count as part of the API call.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    03 Dec 2009
    Link to this post
    Hi Michael Russell,

    Thank you for sharing what you would like to see from Sitefinity in the future.

    We have taken a different approach for handling data in Sitefinity 4.0. We are utilizing lazy loading so issues like this one should not be present. When getting the data we will load only the items that will be seen, this means that your issue will be resolved.

    If you have concerns, please feel free get back to us.

    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered