1

request query using JSOM for project server (ps.js) another user

I need request a query using another user, no my current user this is possible? I'm using JSOM with ps.js for project server 2013

Using CSOM (c#) I need only change my credentials in my context, like this

var c = new NetworkCredentials(user, pass);
context.Credentials = c;

but, on JSOM I don't see anything with this.

4

You can not impersonate or elevate using JSOM, instead you would need to call a CSOM service that can do the impersonation, fetches the information and then returns it.

  • Hi Robert, thanks for your answer. I solved my problem using CSOM. – flvrm92 May 25 '17 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.