Share via


SPWebApplication.UserDefinedWorkflowsEnabled property

Gets or sets a Boolean value specifying whether users can create workflows in the Web application.

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

Syntax

'Declaration
Public Property UserDefinedWorkflowsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.UserDefinedWorkflowsEnabled

instance.UserDefinedWorkflowsEnabled = value
public bool UserDefinedWorkflowsEnabled { get; set; }

Property value

Type: System.Boolean
true if users are allowed to create workflows; otherwise, false. The default value is true.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace