§ 151.13 INSPECTIONS; DUTY OF OWNERS AND OCCUPANTS.
   (A)   For the purpose of making inspections, the Inspector is hereby authorized to enter, examine and survey at all reasonable times all dwellings, dwelling units, rooming houses, rooming units and the premises associated therewith. The owner or occupant of every dwelling, dwelling unit, rooming house or rooming unit or the person in charge thereof shall give the Inspector free access to such dwelling and its premises at all reasonable times For the purposes of such inspection, examination and survey.
   (B)   Every occupant of a dwelling, dwelling unit, rooming house or rooming unit shall give the owner thereof, or his agent or employee, access to any part of such dwelling or dwelling unit and its premises at all reasonable times for the purpose of making such repairs or alterations as are necessary to effect compliance with the provisions of this chapter or with any lawful order issued pursuant to the provisions of this chapter.
(Note: When permission to inspect a dwelling or its premises is denied, the Building Inspector must obtain a warrant to inspect. G.S. § 15-27.2 provides for the issuance or warrants for the conduct of inspections authorized by law. The N.C. Court of Appeals, in In Re Dwelling, 24 N.C. App. 17 (1974), has held that the consent of the tenant-occupant who was in actual possession and control of the premises was sufficient to authorize an inspection without a warrant, notwithstanding the fact that the owner had objected to the warrantless search. When faced with a situation where permission to inspect is denied, building inspectors are advised to seek the advice of the city or town attorney.)