This topic has not yet been rated - Rate this topic

PublishingPage.GetEffectiveAuthenticatedPageCacheProfileId Method

Getsthe current cache profile identifier (ID) that this page uses if output is cached for an authenticated user.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
public int GetEffectiveAuthenticatedPageCacheProfileId()

Return Value

Type: System.Int32
The current effective output cache profile for an authenticated user.

This is the ID of the list item in the cache profiles list, stored in the root Web site of the site collection. This property is calculated by looking at the authenticated cache profile of the root Web site.

If Web overrides are enabled, the page uses the profile associated with its parent Web. If page layout overrides are enabled, the page uses the authenticated profile associated with the page layout, if an authenticated profile is defined.

If both a Web and page layout override are present, the page layout is used.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ