SPWeb.GetFilePersonalizationInformation Method

Returns the file level of a specified document as output parameters and also returns a value that specifies whether the document has personalized Web Parts.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ShimmedTypeOutParam)]
public void GetFilePersonalizationInformation(
	string url,
	out bool hasPersonalizedWebParts,
	out SPFileLevel fileLevel
)

Parameters

url
Type: System.String

The fully qualified URL of the document.

hasPersonalizedWebParts
Type: System.Boolean

true if the document includes personalized Web Parts; otherwise, false.

fileLevel
Type: Microsoft.SharePoint.SPFileLevel

An SPFileLevel value that specifies the file level.

Show: