The office shall be made a party to all actions and proceedings affecting in any manner the possession, ownership or transfer of a registration, license or permit to operate within a municipality and to all such injunction proceedings.
New York Legal Code