ImpersonationSequenceActivity.RunAs Property

Gets or sets the user role that the workflow host uses for interactions with the current SPWeb.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property RunAs As SPWorkflowUserContext
    Get
    Set
'Usage
Dim instance As ImpersonationSequenceActivity
Dim value As SPWorkflowUserContext

value = instance.RunAs

instance.RunAs = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPWorkflowUserContext RunAs { get; set; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowUserContext
The user role that the workflow host uses for interactions with the current SPWeb.

See Also

Reference

ImpersonationSequenceActivity Class

ImpersonationSequenceActivity Members

Microsoft.SharePoint.WorkflowActions Namespace