The Task Management Service has the following interface method:
That can be used to reassign a task to different users, different roles.
Once a task is in someone's inbox, calling this method through the TMS Axis Webservice, will result in the task being accessible to a different set of users, than what was originally planned during design time.
The TMS WSDL
decribe the reassign request as:
The old assignable users referenced for this task will be completely replaced by the new ones.
Reassign has a very extensive test case
on its own, that can be used as an example.