SharePoint Internals – Hristo Pavlov’s Blog

10 October, 2008


Filed under: SharePoint — Tags: , , , — hristopavlov @ 6:55 am

This is a great property in the SharePoint object model that I discovered today, that indicates the time of the last security related change done to an object in the site collection. This could be a change to any securable object (web, list or list item) or modification to the permission level rights etc. It will work regardless of whether the subwebs and lists use unique permissions or inherited permissions. Adding new objects that don’t inherit permissions also means adding permissions and will result in an update of the flag. The same applies for braking/restoring permission inheritance.

You can use the SPSite.LastSecurityModifiedDate and the SPSite.LastContentModifiedDate properties as indicators of when something has changed for example to invalidate any custom built caching mechanism as we did in out current project and this lead to exceptional performance improvement.

The values of those fields are coming directly from the content database from the Sites.LastSecurityChange and Sites.LastContentChange fields.


1 Comment »

  1. […] SPSite.LastSecurityModifiedDate […]

    Pingback by Links (10/12/2008) « Steve Pietrek - Everything SharePoint — 13 October, 2008 @ 12:02 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

Blog at

%d bloggers like this: