Changing Users Site through API

Hello,

I'm Using V6R2012x

Can you please suggest 

is there an API to set the site on user dynamically?

alternatively API to set the site/location while checkoutFile?