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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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