Clinton tried this under Cumo when he was over HUD. I do not think it passed the stink test. Clinton was horrible on individual rights espically for the poor black people.
"sweeps can occur where consent has been given. That consent can take several forms. It may be consent that is given in advance as an element of a lease where people in the agreement to sign a lease for a building sign a consent that would allow searches for weapons just as they allow consent for searches -- for maintenance problems, inspections that are now a standard part of a lease. "