I believe you just need to create an instance of the existing task and the re-register the task using new credentials. The samples page shows how to get a current task instance. You will need to supply the new user information in the RegisterTaskDefinition method.
↧