When logging in, two methods could cause performance issues: GetAllUsers
() from the ActiveDirectoryMembershipProvider
class and GetRolesForUser
() from the role provider. If the delay appears only on the dashboard, but not later when navigating through the administration, probably the GetAllUsers method is causing troubles. The reason is that paging is not applied, so all users are taken, not only 5 or 10. We are planning performance improvements on this for the release.
If, however, the problem is on request for every administration page, the delay should come from the GetRolesForUser method. You could override it if you please in older to use a faster implementation. If you are interested, please open a support thread so we could provide you with some sample code for testing.
In both cases it is strange that after reducing your users to a smaller container (not the whole DC) Sitefinity works slower.
If you have any other questions, feel free to ask again, more information about the new AD role provider is available in the Developers Manual.
the Telerik team