wixLocation.to URL

Is there a way to set up own url of wixLocation.to module for each user? In other words, there is a data of users in which each user has its own link and it is put in the button onClick event?