SPWorkflowActivationProperties.OriginatorUser property

Gets the user who initiated the workflow instance.

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

Syntax

'Declaration
Public ReadOnly Property OriginatorUser As SPUser
    Get
'Usage
Dim instance As SPWorkflowActivationProperties
Dim value As SPUser

value = instance.OriginatorUser
public SPUser OriginatorUser { get; }

Property value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the user.

See also

Reference

SPWorkflowActivationProperties class

SPWorkflowActivationProperties members

Microsoft.SharePoint.Workflow namespace