That would be an Executive Order. It is within the power of the President to tell the unions that a taxpayer financed government is not their dues collection agency and they can collect their own goddamned dues.
A few people corrected me, it was a recent SCOTUS decision. No mandatory dues for unions any more! Big win.