|
|
•
•
• 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.
• Using the Microsoft .NET client assembly, create a DirectoryManagerServiceService object by invoking its default constructor.
• Set the DirectoryManagerServiceService object’s Credentials data member with a System.Net.NetworkCredential value that specifies the user name and password value.
• Create a PrincipalSearchFilter object by using its constructor.
• Set the user name by assigning a string value to the PrincipalSearchFilter object’s userId data member.
• Find the user that corresponds to the user name by invoking the DirectoryManagerServiceClient object’s findPrincipalsWithFilter method and passing the PrincipalSearchFilter object. This method returns an Object array where each element is a User object (in this situation, only one User object corresponds to the specified userId value).
• Iterate through the Object array to determine whether there are users. If so, each element is a User object.
• Get the user identifier by getting the value of the User object’s oid data member. The format of a user identifier is a GUID.Forward the task to a user by invoking the TaskManagerServiceService object’s forwardTask method and passing the task identifier and the user identifier value. You can determine the task identifier by retrieving tasks that are assigned to a specific user. (See Retrieving Tasks Assigned to Users.)
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/forwardingTasks.135.4.html