
249 S.E.2d 851 (1978)
39 N.C. App. 236
CITY OF HICKORY
v.
CATAWBA VALLEY MACHINERY COMPANY.
No. 7725DC1036.
Court of Appeals of North Carolina.
December 19, 1978.
*852 Tate, Young & Morphis, by E. Murray Tate, Jr., Hickory, for plaintiff.
Rudisill & Brackett, by J. Steven Brackett, Hickory, for defendant.
BROCK, Chief Judge.
The City of Hickory instituted this action to require defendant to remove a canopy which allegedly violated the City's zoning ordinance. Prior to trial the parties stipulated: That defendant's property is zoned "general business"; that such zoning prohibits extensions of canopies or other structures into the "front yard", the space between the main building and the street or highway; that when the zoning ordinance was adopted in January 1967 defendant already had a canopy which constituted a permissible non-conforming use; that sometime prior to October 1973, defendant removed the canopy and within 360 days replaced it with a larger canopy; that defendant did not secure a building permit before constructing the new canopy; and that on 25 October 1973 defendant was notified by the City that defendant's canopy was in violation of the zoning ordinance.
At the conclusion of the hearing the trial judge determined that defendant's construction of the new canopy was in violation of the zoning ordinance and defendant was ordered to remove the canopy. Defendant appealed.
Most of the defendant's argument on this appeal can be disposed of by pointing out that he failed to seek judicial review of the actions of the Board of Adjustment by way of petition for writ of certiorari to the superior court as is provided by law. He may not, in the city's action for injunctive relief, attack the proceedings before the city administrative boards. Such constitutes an impermissible collateral attack. Defendant failed to exercise the remedies available to him under the zoning ordinance and may not as a defense to the city's action for injunctive relief collaterally complain that the city denied him due process of law. It seems that defendant chose to ignore the city's actions and undertook by inaction to continue the use of his canopy in violation of the zoning ordinance. Defendant does not contend that his canopy does not violate the zoning ordinance. He undertakes to argue in this lawsuit that the court should not grant relief to the city because the city would not allow his canopy to remain as a permissible non-conforming use.
Defendant argues that the trial court should have granted his motion for dismissal at the close of the city's evidence, that the court should not have found that its new canopy was in fact larger than the original one, and that the court should not have found that the new canopy was violative of the zoning ordinance. In these arguments defendant seems to contend that the underlying error was that the court conducted a trial de novo rather than limiting itself to a review of the administrative record. There is no merit in this contention. The administrative record was not before the court for review in this action. If defendant desired a judicial review of the administrative record he should have sought it by petition for writ of certiorari as by law provided. In this action by the city under G.S. 160A-389 for injunctive relief the proper function of the court was to determine whether a violation of the ordinance existed warranting injunctive relief.
*853 Defendant's argument that the trial court failed to make findings of fact and conclusions of law is clearly not supported by the record and merits no discussion.
Defendant argues that the trial court was in error in finding that defendant was not denied his due process right to be heard before the various administrative officials and boards. We consider this finding by the trial court to be surplusage because the question was not properly before it. A quotation from Durham County v. Addison, 262 N.C. 280, 283, 136 S.E.2d 600, 603 (1964) will serve to dispose of this argument:
"The decision of the Board of Adjustment is not subject to collateral attack. As stated by Adams, J., in State v. Roberson, 198 N.C. 70, 72, 150 S.E. 674: `When. . . the building inspector's decision was affirmed by the board of adjustment, the defendant should have sought a remedy by proceedings in the nature of certiorari for the purpose of having the validity of the ordinances finally determined in the superior court, and, if necessary by appeal to the Supreme Court. This he failed to do and left effective the adjudication of the board of adjustment.' The decisions of the Board of Adjustment are final, subject to the right of courts on certiorari `to review errors in law and to give relief against its orders which are arbitrary, oppressive or attended with manifest abuse of authority.'" (Emphasis added.)
In this case the trial judge was very lenient with defendant. The trial judge stayed the effectiveness of his injunctive order specifically to give defendant an opportunity to seek relief through proper channels, the administrative officials and boards. The record before us does not disclose the results of any efforts by defendant, or if it made any effort.
In any event, defendant has been afforded its rights under the ordinance and statutes. From the record before us it simply has failed to exercise them.
Affirmed.
CLARK and HARRY C. MARTIN, JJ., concur.
