Because there have been several recent changes in the post-beta version of Project Server 2010 and Office SharePoint Server 2010, the article How to: Use Impersonation with WCF in the January 2010 release of the SDK is not correct for the 4730.1010 and later builds of Project Server. The article in the March 2010 release of the SDK is correct. The attached Impersonation_PSIProxy.zip file includes the following:
Great article. However, I am unable to perform impersonation in PS 2010 using the timesheet service. While this example on impersonation using the resource service works fine, I am unable to translate this to the timesheet. Can anyone provide an example on how to use impersonation with the timesheet service, such as adding a timesheet line to the impersonated user's timesheet?