0

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

3
  • are that feature custom? Oct 21, 2012 at 20:04
  • No. Its just OOB features. Say for example "Sharepoint server publishing feature".
    – sivakumar
    Oct 21, 2012 at 20:48
  • can you develop a feature? Oct 22, 2012 at 5:49

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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