From Wikipedia: "Vigilantism is the act of preventing, investigating and punishing perceived offenses and crimes without legal authority."
If you are authorized by the government to prevent and punish crimes, then you have legal authority. Therefore you are not a vigilante.
If you are authorized by the government to prevent and punish crimes, then you have legal authority. Therefore you are not a vigilante.