How to back up 2 different Macs on the WD My cloud via Time machine

Does anyone know how to back up 2 different Macs (2 different users) on the WD My cloud via Time machine? Thanks a lot.