I'm developing an asp.net intranet website with a ActiveDirectoryMembershipProvider and a SqlProfileProvider.
One of the requirements of my website is to have a "Birthdays" page, which would require me to list all profiles and retrieving the birthday information from it.
I approached the problem as follows:
This approach, however, failed for the following reasons:
So, how would you go around this problem to retrieve the whole list of profiles for any member of the organization?
There is a ProfileManager with the a method GetAllProfiles():
http://msdn.microsoft.com/en-us/library/system.web.profile.profilemanager.getallprofiles.aspx