I am trying to get a list of members(users) that have

Hello

I am trying to get a list of members(users) that have a certain membership.
I can find out how to get the number of members using $membership->get_members_count(). Is there a way to find the members without looping through all the users?

Best regards
/Cristina