Question

Which user context is used in feature activation receiver?

Is it current user (when activating from WebUI)?

I have to call a service in feature activation receiver and I have to know which user should have access to the server.

Was it helpful?

Solution

Feature activation from UI uses the current user context.

You can use elevated code if you want normal users to gain more privileges.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top