Not only ironic, but Orin Kerr has argued (http://www.c-span.org/Events/Washington-Journal-for-Monday-A...) that in the case of police departments using this practice (they appear to be big users of the practice) it might actually be barred by the 4th Amendment.
And private employers might or might not be violating the Computer Fraud and Abuse Act as far as civil damages.