Share via


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

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