SPWorkflow.AuthorUser Property

Returns the user who initiated the workflow instance.

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 AuthorUser As SPUser
    Get
'Usage
Dim instance As SPWorkflow
Dim value As SPUser

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

Property Value

Type: Microsoft.SharePoint.SPUser
An SPUser object that represents the user who initiated the workflow instance.

See Also

Reference

SPWorkflow Class

SPWorkflow Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation