For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.