customerprofiles_get_segment_membership function

Determines if the given profiles are within a segment