I have found this
UserProfileManager profileManager = UserProfileManager.GetManager();
IQueryable<UserProfile> sfProfiles = SitefinityQuery.Get<UserProfile>(
(SitefinityProfile), profileManager.Provider).Where(p => p.ApplicationName == profileManager.Provider.ApplicationName);
link in the documentation
That works perfect for getting the information out of the default membership profile.
We have a custom profile that we store additional user information in and I would like to get all users information from that in a list that I can filter through as well. How would I go about doing this?