Export (0) Print
Expand All
Expand Minimize

SPWorkflowUserContext Enumeration

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 nameDescription
DefaultFor 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.
InitiatorSpecifies that the user of the Web site should be the user who started the workflow.
OwnerSpecifies that the user of the Web site should be the user who owns the workflow.
MaxDo not use. Specifying this value will result in an exception.

Community Additions

ADD
Show:
© 2014 Microsoft