This topic has not yet been rated - Rate this topic

SPSite.UserDefinedWorkflowsEnabled Property

SharePoint 2010

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ