 The law consists of two parts.One is the "Consent to Search" law which requires an officer to inform someone they have the right to deny a search and to make sure that person understands that right.The other is the "NYPD ID" law which requires the officer, in certain situations, to hand out business cards with their name, rank, badge number and command.