You can supply any user credentials you want. Credentials supplied through the TaskService constructor determine access to the host specified to work with the Task Scheduler and then the credentials supplied to the RegisterTaskDefinition method determine the run time access of the task.
↧