Share via


SPUserCodeWorkflowContext.InitiatorUserId property

Gets or sets the identifier of the user who started the current workflow instance.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property InitiatorUserId As Integer
    Get
    Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As Integer

value = instance.InitiatorUserId

instance.InitiatorUserId = value
public int InitiatorUserId { get; set; }

Property value

Type: System.Int32
The identifier of the user.

See also

Reference

SPUserCodeWorkflowContext class

SPUserCodeWorkflowContext members

Microsoft.SharePoint.UserCode namespace