SPWorkflow.OwnerUser property

Gets the owner of the SPWorkflowTemplate on which this SPWorkflow instance is based.

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

Syntax

'Declaration
Public ReadOnly Property OwnerUser As SPUser
    Get
'Usage
Dim instance As SPWorkflow
Dim value As SPUser

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

Property value

Type: Microsoft.SharePoint.SPUser
The owner of the SPWorkflowTemplate on which this SPWorkflow instance is based.

See also

Reference

SPWorkflow class

SPWorkflow members

Microsoft.SharePoint.Workflow namespace