§ 152.05 DUTIES AND POWERS OF THE CODE ENFORCEMENT OFFICIAL.
   It shall be the duty of the Code Enforcement Official to:
   (A)   Investigate the conditions of and inspect buildings and structures in the town in order to determine whether they have been properly maintained in compliance with the minimum standards established by this chapter so that the safety or health of the occupants or members of the general public are not jeopardized;
   (B)   Enter upon property for the purpose of making examinations and inspections; provided that, such entries shall be made in accordance with law and in such a manner as to cause the least possible inconvenience to the persons in possession, if any;
   (C)   If permission to enter is not granted by the owner, the owner’s agent, a tenant or other person legally in possession of the property, obtain a duly issued administrative search warrant in accordance with G.S. § 15-27.2;
   (D)   Appoint and fix the duties of officers, agents and employee’s necessary to carry out the purposes of this chapter;
   (E)   Delegate any of his or her functions and powers under this chapter to other officers and agents;
   (F)   Take such action, together with other appropriate departments and agencies, public and private, as may be necessary to effect compliance of non-residential buildings or structures which are in an unsafe condition;
   (G)   Administer oaths and affirmations, examine witnesses and receive evidence;
   (H)   Issue notices of violation and impose civil penalties;
   (I)   Keep a record of the results of inspections made under this chapter; and
   (J)   Perform such other duties as may be prescribed in this chapter.