SPWebApplication.AllowContributorsToEditScriptableParts Property
Gets or sets a Boolean value that determines whether contributers are allowed to edit scriptable Web Parts.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property AllowContributorsToEditScriptableParts As Boolean
Get
Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean
value = instance.AllowContributorsToEditScriptableParts
instance.AllowContributorsToEditScriptableParts = value
public bool AllowContributorsToEditScriptableParts { get; set; }
Property Value
Type: System.Boolean
Boolean
true if contributers can edit scriptable Web Parts; otherwise, false.
Exceptions
Exception | Condition |
---|---|
SecurityException | The current user is not a farm administrator. |