Many people using SharePoint technologies don't realize that there is auditing support built directly into the Windows SharePoint Services (WSS) 3.0 platform.
In the September 2008 issue of MSDN Magazine, Ted Pattison walks you through a SharePoint solution that enables auditing support through the WSS object model. The AuditingDemo project was created using the STSDEV utility and incorporates many best practices in areas such as solution-package deployment, security programming, and security trimming.
Don’t forget to browse the sample code online.
Be sure to check out our MSDN Magazine archives for more articles about Office and SharePoint development.