RequiresDesignerPermissionAttribute Class
Sets the Web Part property attribute that determines whether designer permissions are required before a user can modify the property.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.SharePoint.WebPartPages.RequiresDesignerPermissionAttribute
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class RequiresDesignerPermissionAttribute _
Inherits Attribute
'Usage
Dim instance As RequiresDesignerPermissionAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class RequiresDesignerPermissionAttribute : Attribute
Remarks
When set to true, RequiresDesignerPermissionAttribute will require users to have designer permissions to modify the property. The default value is true.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.