28 Jan 2009
03 Dec 2009
Link to this post
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.
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.