Pull User Name of the person that scheduled the Job
Is it possible to pull the login of the person that scheduled the job in DS? I would like to write it to my INI file that stores build info on client machines. I would like to start tracking which Help Desk task built which computer.
You'll want to use the
You'll want to use the "%JOBUSER%" token. That should get the information for you. We're setting it in a registry file and then importing that Imaging stamp into the registry and collecting the information with a custom inventory.
You'll want to watch for a couple of gotchas on that.
1. Security has to be enabled
2. If you have a job or task that schedules a 2nd job then the %JOBUSER% token won't work inside the 2nd job.
- Matt
Thanks! I will give that a
Thanks! I will give that a try! We already have security enabled in our enviroment. Too many close calls with the Help Desk.
Would you like to reply?
Login or Register to post your comment.