Thanks guys
He did not have a court order or any other type of legal document other than being a personal friend of the landlord, and being in his county vehicle and uniform. I contacted the sheriff dept. and they have not got back in touch with me, but the secretary told me that he was out of line but that she would ask the sheriff and get back in touch with me. A total abuse of authority in my opinion.