I'm using the User Profile Service Application in SharePoint 2010 which contains imported user profiles.
Now I want to display a list of all users who have a profile, to show a list like "my colleagues". But the Profile Service API doesn't seem to have a way to get all user profiles.
I suspect this is due to performance reasons, but even so, what would be a way to actually retrieve all profiles?
using .AllUsers
feels problematic since it doesn't match the list of profiles.