This documentation is archived and is not being maintained.

SPWeb.GetFilePersonalizationInformation Method

Windows SharePoint Services 3

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
)

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: