If your goal is to publish the content of a folder with an exclusive access to each users then follow this procedure : map a folder


Add in the generated script type in the path of your application subst Y: C:\Users\%USERNAME%\your folder

This way your user will have access to this drive letter Y:, which will be pointing to his exclusive profile folder.


If you would prefer to redirect your user's local "My documents" folder or any other specific folder then type in : 

subst Y: \\tsclient\c\Users\%USERNAME%\Documents


The final step is to publish an application that will secure the Y: of each users, preventing them from accessing the whole server.