Share via


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)

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.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace