Programatically Changing Users’ Roles in WordPress Multisite

Background: I inherited three different WordPress installations (each one on a separate closed network) from a developer that was leaving our contract for a government civilian position.  I had a grand total of five days to pick his brain about WordPress, and our infrastructure.  It sucked, greatly. We had two custom Roles in our installations: …