Creating an Alert when someone opens a document but does not modify it.

WSS also has auditing
support allthough it is not possible to activate it using the user
interface. You can enable auditing using the next code sample from
within an feature activation callout.

 

SPSite sitecollection = properties.Features.Parent as SPSite;

sitecollection.Audit.AuditFlags = SPAuditMaskType.All;

sitecollection.Audit.Update();

 

For more info take a look at http://msdn2.microsoft.com/en-us/library/bb397403.aspx

 

Rgds,

 

Joris

http://jopx.blogspot.com

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s