Path to user directory when username is unknown
The standard path to /Users/[current user] is tilde ~

So the path to /Users/{$USERNAME}/CloudSync/Projects/Hello World/ for any user is

~/CloudSync/Projects/Hello World/