Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.