Export (0) Print
Expand All
Expand Minimize

WebPart.Permissions property

NOTE: This API is now obsolete.

Gets the properties of a Web Part that can be modified currently.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use SPWebPartManager.GetPermissions instead.")]
public Permissions Permissions { get; }

Property value

Type: Microsoft.SharePoint.WebPartPages.Permissions
A Permissions enumeration value.

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.

Show:
© 2014 Microsoft