SPWebPartManager.SetIsIncludedFilter Method
Sets an arbitrary string to determine whether a Web Part is authorized to be added to a page.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Parameters
- part
- Type: System.Web.UI.WebControls.WebParts.WebPart
The Web Part for which the arbitrary string is being set.
- value
- Type: System.String
An arbitrary string to determine whether a Web Part is authorized to be added to a page.
This method sets a Web Part’s AuthorizationFilter property to value after validating that the value passed in is valid.