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)

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

SPWorkflowEventProperties members

Microsoft.SharePoint.Workflow namespace