The city may bring a civil action to enjoin any person from doing the following:
(A) Violating an ordinance regulating or prohibiting a condition or use of property.
(B) Engaging in conduct without a license if an ordinance requires a license to engage in the conduct.
(`84 Code, § 110.07)