Statusing.asmx (ReadstatusTimePhasData method )

A

Amit

Is ther a way to access the statusing.asmx service using the admin account? I
can get the impersonation to work on the sdk projects.
(ImpersonationConsoleApp) but when trying to imperosonate the statusing.asmx
i get the general security excetption.
I have granted admin user direct access to the shared service provider. I
need to be able to read the data of resources using the admin account.
Below is the code snippt

StatusingDerived st = new StatusingDerived();
st.Url = PROJECT_SERVER_URI + STATUSING;
StatusingDerived.SetImpersonationContext(isWindowsUser, userAccount,
impersonatedUserGuid, Guid.Empty, PWA_SITE_GUID, "1033");

st.ReadStatusTimephasedData(new
Guid("d2e2fbd9-6fdd-49d4-9aca-86e254257150"), new
Guid("b03031dd-ecb2-47fb-bb6d-ec558b880bcf"),
new DateTime(2009, 4, 21), new DateTime(2009, 4, 22), 1440);
 
S

Stephen Sanderlin [MVP]

Lots of things this could be... let's start with a few basic questions:

-Are you sure the value for isWindowsUser is correct when you call
SetImpersonationContext?
-Are you sure the impersonating user is a full admin in Project Server?
-Are you sure the impersonated user is only trying to access their own
assignments?

--
Stephen Sanderlin, Project MVP
VP of Technology
MSProjectExperts

For Project Server Consulting: http://www.msprojectexperts.com For Project
Server Training: http://www.projectservertraining.com

Read our blog at: http://www.projectserverhelp.com

Learn | Connect | Grow @ The Microsoft Project Conference Phoenix, AZ -
September 14-17, 2009
 

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

Similar Threads


Top