The debt collector is entitled to nothing without a court order. If they have a court order, then they must usually reveal everything other than your social security number.
The payroll department has to confirm employment but does not have to give much more information. They do have to comploy with wage garnishments put on the employee.