As used in this act:
The term shall not mean or include, and nothing in this act shall apply to, any law enforcement officer of this State, or any political subdivision of the State, while in the actual performance of his duties. For the purposes of this section, a law enforcement officer shall be deemed to be in the actual performance of his duties if the law enforcement officer is in uniform, or is exhibiting evidence of his authority, is performing public safety functions on behalf of and as assigned by his chief of police or the chief law enforcement officer of his law enforcement agency and is receiving compensation, if any, from his law enforcement agency at the rates or stipends as are established by law. A law enforcement officer shall not be deemed to be in the actual performance of his duties, for the purposes of this section, if the law enforcement officer is performing private security functions or activities for a private employer while receiving compensation for those duties from the private employer, and a law enforcement officer shall not wear his uniform, or otherwise exhibit evidence of his authority as a law enforcement officer, while performing private security functions or activities for a private employer.
N.J.S. § 45:19A-2