Is it possible to get the Windows username as a variable?
Unfortunately, our PDM username is not the same so I cannot use "Name of logged-in user".
My dispatch script should open PDF´s in 3 locations on SharePoint if they exist.
The path to the PDF´s:
C:\Users\peter.larsen\Ergonomic Solutions\Ergonomic Solutions\Group-PM-TSS - Test-PDM-export\PDM Exports...
So I need the username to change depending on who is logged in.
PDM initials Windows username
Is this possible without having to make a lot of Dispatch Jumps since we have many users and that would make the script very long.