I think as long as SharePoint is set to allow you to query the user profile service in browser forms, this should still work. GetCommonMemberships is available in the user profile service in SharePoint Online still, so it seems like it would still be in 2013 / 2016.
Hilary Stoupa
