refactor ListUsers api
Refs #20358