Domanda

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.

È stato utile?

Soluzione

Feature activation from UI uses the current user context.

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top