Share via


SPUserCodeWorkflowContext members

Provides detailed information about a specific workflow instance in a sandboxed solution.

The SPUserCodeWorkflowContext type exposes the following members.

Constructors

  Name Description
Public method SPUserCodeWorkflowContext Initializes a new instance of the SPUserCodeWorkflowContext class.

Top

Properties

  Name Description
Public property AllowDefaultContentApproval Gets or sets a value that indicates whether the workflow is started when the user approves the publishing of a major version of a list item.
Public property AllowManual Gets or sets a value that indicates whether the workflow can be started manually.
Public property AssociationCategoryName Gets or sets the name of the category of the workflow association that is associated with the workflow context.
Public property AssociationTitle Gets or sets the name of the workflow association associated with the workflow context.
Public property AssociatorUserId Gets or sets the identifier of the user who most recently modified the workflow association associated with the workflow context.
Public property AutoStartChange Gets or sets a value that indicates whether the workflow is started when an item is changed.
Public property AutoStartCreate Gets or sets a value that indicates whether the workflow is started when an item is created.
Public property CurrentItemUrl Gets or sets the absolute URL of the list item on which the workflow was created.
Public property CurrentWebUrl Gets or sets the absolute URL of the SharePoint 2010 website on which the workflow instance is located.
Public property InitiatorUserId Gets or sets the identifier of the user who started the current workflow instance.
Public property ItemId Gets or sets the identifier of the list item on which the workflow instance is running.
Public property ItemName Gets or sets the name of the list item on which the workflow instance was created.
Public property LastRunDateTime Gets or sets the Coordinated Universal Time (UTC) date and time of the last modification to the workflow data.
Public property ListId Gets or sets the identifier of the list that contains the list item on which the workflow instance is running.
Public property PermissionsManual Gets or sets a value that indicates whether the current user has permission to manually start the workflow on the website.
Public property SiteUrl Gets or sets the absolute URL of the root web of the SPSite that is associated with the workflow.
Public property StartedDateTime Gets or sets the UTC date and time when the workflow instance was created.
Public property WebUrl Gets or sets the relative URL of the SPWeb that is associated with the workflow.
Public property WorkflowInstanceId Gets or sets the GUID of the current workflow instance.
Public property WorkflowStatusUrl Gets or sets the absolute URL of the status page for the workflow instance.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPUserCodeWorkflowContext class

Microsoft.SharePoint.UserCode namespace