WebPart.Permissions property
SharePoint 2013
NOTE: This API is now obsolete.
Gets the properties of a Web Part that can be modified currently.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
The values of the EffectiveFrameType, ContainerWidth, and Permissions properties can change just before the Render event in Microsoft ASP.NET is called. This is because the ZoneID property might have changed, which affects the values of these properties. These properties are guaranteed to have their final values, taking into account any needed zone changes, when the Web Part's RenderWebPart method is called.