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);
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);