I have custom requirement to return the List of users, based on the values we have set for custom profile field we have created and later need to filter the user based on different values has been set in that custom profile field.
$core_v2_searchResult.List() ; this return users as well but will unnecessary search site wide data and affect the site performance to process tons of data to get the necessary ones.
$core_v2_user.List () returning all user and not having any parameter to filter users based on profile fields values
Also is there any reference to write normal Solr query to find users by that value at widget level.
Any help on this area would be really appreciated!