Pregunta

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.

¿Fue útil?

Solución

Feature activation from UI uses the current user context.

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

Licenciado bajo: CC-BY-SA con atribución
scroll top