Share via


SP.WebParts.LimitedWebPartManager.webParts property (sp.js)

Gets a value that specifies collection of the Web Parts on the Web Part Page available to the current user based on the current user's permissions.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value =SP.WebParts.LimitedWebPartManager.get_webParts()

Return value

Returns a SP.WebParts.WebPartDefinitionCollection instance representing the collection of the Web Parts on the Web Part Page available to the current user based on the current user’s permissions.