Take a survey

Developing Applications Using APIs > Managing Processes and Tasks > Locking Tasks > Locking tasks using the web service API

Locking tasks using the web service API
To lock a task by using the web service API, perform the following steps:
1.
2.
Using the Microsoft .NET client assembly, create a TaskManagerServiceService object by invoking its default constructor.
Set the TaskManagerServiceService object’s Credentials data member with a System.Net.NetworkCredential value that specifies the user name and password value.
3.
Lock a task by invoking the TaskManagerServiceService object’s lockTask method and passing the task identifier value and a System.Boolean value that specifies true (this argument value informs the Task Manager service to use the task identifier value). You can determine the task identifier by retrieving tasks that are assigned to a specific user. (See Retrieving Tasks Assigned to Users.)
Note: You can unlock a task by invoking the TaskManagerServiceService object’s unlockTask method.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/lockingTasks.136.4.html