AnsweredAssumed Answered

PDM Dispatch - Windows username/domain login as variable

Question asked by Peter Larsen on May 2, 2019
Latest reply on May 7, 2019 by Paul Wyndham

Hi all,

 

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

pl                             peter.larsen

jd                             john.doe

etc.

 

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.

 

Thanks.

/Peter

Attachments

Outcomes