Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetFilePersonalizationInformation method
Collapse the table of content
Expand the table of content

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)

public void GetFilePersonalizationInformation(
	string url,
	out bool hasPersonalizedWebParts,
	out SPFileLevel fileLevel


Type: System.String

The fully qualified URL of the document.

Type: System.Boolean

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

Type: Microsoft.SharePoint.SPFileLevel

An SPFileLevel value that specifies the file level.

© 2015 Microsoft