This topic has not yet been rated - Rate this topic

SPWorkflowUserContext Enumeration

SharePoint 2010

Specifies the user role that the workflow host should use for interactions with the current Web site (SPWeb).

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[NoNameChangeOnRemoteAuthoringAttribute]
public enum SPWorkflowUserContext
Member name Description
Default For a declarative workflow, indicates to use the Initiator value for the user of the Web site. For a non-declarative workflow, indicates to use the system account for the user of the Web site. The system account is specified in the SystemAccount property.
Initiator Specifies that the user of the Web site should be the user who started the workflow.
Owner Specifies that the user of the Web site should be the user who owns the workflow.
Max Do not use. Specifying this value will result in an exception.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ