That depends upon the purpose of the visit and the location of the violation. The curtilage area of a yard is open to all unless posted. In some instances, the city codes give the code enforcement officers authority to enter your property to examine for certain violations. In some instances a search warrant is required. Please call 432-264-2505 for more information.