Can an Employer Ask about Previous Salary?

Question: Can a New York City-based employer ask a candidate during an interview how much they earned at a prior employer? Advice:  New York City law prohibits employers from asking candidates about prior compensation. Instead, employers can ask what are your salary requirements.