Apparently you can use the quser command to fetch the user dynamically and create a scheduled task accordingly. However, this has its own limitation as quser is not supported in every Windows version.
quser