4

I want to make a Custom Page App, using Angular on the client and .Net Core on the backend (WebService)

For the user authentication, I can get the username in the JS side....but on the CoreService side, they'd have to be an impersonation user, right?

or - how would you perform the CoreService actions in the context of the user?

1 Answer 1

5

The user running the thread (e.g. the IIS Application Pool user) is the only one who needs to be an impersonation user. That way you can call Impersonate, passing in the username, and all subsequent actions will be done as that user.

1
  • 1
    Experience shows that if you use the Network Service account it tends to work just fine.
    – Nuno Linhares
    Sep 24, 2019 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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