AssignmentsProjectManagerUpdate Issue

W

walterd

Hi

I have a batch service that extract timesheet info for different users. The
info is stored in an Excel document with user name and time as per project
tasks. Everything works well, except the call
AssignmentsProjectManagerUpdate. All tasks are updated correctly, but using
the Username which the batch services runs under. I have looked up all the
Parameters for AssignmentsProjectManagerUpdate and don't seem to find
<UserName>.

Can someone please shed some light on this?

TIA
Walterd
 
R

Ray McCoppin

The Project 2003 add-in for Microsoft Outlook® uses this PDS call to
communicate with Project Server. It assumes that the user running it is the
resource giving the timesheet information. But You should be able to supply
the resource UID as described below. I was not able to get this to work in
my application.

Parameters
All parameters to AssignmentsProjectManagerUpdate are optional. If no
parameters are specified, the method updates the project manager for all
assignments that belong to the currently logged-on user (within the server’s
date range). This method takes any assignment updates for the logged-on user
and makes them available to the manager in the Updates page.

AllResources

Optional. Boolean specifying whether to update the project manager for all
resources to which the currently logged-on user has access. User access is
via the object-level Project Server permission View Resource Assignments.
Default is 0.
Resources (ResourceName or ResourceUID)

Optional. Each <Resource> block represents a specific resource for which
assignments are to be returned (assuming the currently logged-on user has
sufficient permissions). A resource can be specified by either ResourceUID or
ResourceName, both of which are guaranteed to be unique in Project Server. If
ResourceUID is set, ResourceName is ignored, even if set.


Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top