Frage

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.

War es hilfreich?

Lösung

Feature activation from UI uses the current user context.

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange
scroll top