IWorkflowWebProvider.RunAsUser Property

Gets or sets the user role that the workflow host should use for interactions with the current Web site.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Property RunAsUser As SPWorkflowUserContext
    Get
    Set
'Usage
Dim instance As IWorkflowWebProvider
Dim value As SPWorkflowUserContext

value = instance.RunAsUser

instance.RunAsUser = value
SPWorkflowUserContext RunAsUser { get; set; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowUserContext
An SPWorkflowUserContext value.

See Also

Reference

IWorkflowWebProvider Interface

IWorkflowWebProvider Members

Microsoft.SharePoint.Workflow Namespace