SPWorkflowEventProperties.TerminatedByUserId Property
Gets the member ID for the SPUser who terminated the workflow.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property TerminatedByUserId As Integer
Get
'Usage
Dim instance As SPWorkflowEventProperties
Dim value As Integer
value = instance.TerminatedByUserId
public int TerminatedByUserId { get; }
Property Value
Type: System.Int32
The member ID for the SPUser who terminated the workflow.
Remarks
This property is only valid if the EventType property is WorkflowCompleted and the CompletionType property is ExternallyTerminated.
See Also
Reference
SPWorkflowEventProperties Class