Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UserDefinedWorkflowsEnabled property
Collapse the table of content
Expand the table of content

SPSite.UserDefinedWorkflowsEnabled property

Gets or sets a Boolean value that indicates whether user-defined workflows are enabled.

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

public bool UserDefinedWorkflowsEnabled { get; set; }

Property value

Type: System.Boolean
true if user-defined workflows are enabled; otherwise, false.

This property can be set only by a user with administrative privileges. If a user without administrative privileges attempts to set this property, an error of type UnathorizedAccessException is thrown.

Show:
© 2015 Microsoft