SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a sharepoint 2010 site. We would like to find who activates and deactives feature in site collection features(site collection level) or Manage site features(subsite level). We are lready having the audit log which does not capture this. Is there any way how to find who is activating and deactivating the feature? Any help is much appreciated.

Sivakumar. P

share|improve this question
are that feature custom? – Salvatore Di Fazio Oct 21 '12 at 20:04
No. Its just OOB features. Say for example "Sharepoint server publishing feature". – sivakumar Oct 21 '12 at 20:48
can you develop a feature? – Salvatore Di Fazio Oct 22 '12 at 5:49

I don't think auditing will show you who activates or deactivates features.

But you could set log level to verbose, like this:

Set-SPLogLevel -TraceSeverity Verbose -EventSeverity Verbose

and then you could look for __Current User=...*, although I can not guarantee it will work, and setting log level to verbose will of course also have its implications.

Another completely different approach is to do the logging yourself through JavaScript, example with jQuery:

$('[value=Activate],[value=Deactivate]').click(function() {
  // Do ajax here

then you could either use Client Object Model to get the current user or even just post directly to a WCF Service, which should know what users is calling it, and then log this information in any way you want. For example using SPLog.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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