SetRunAsUser Method
See Also 
SourceCode.Workflow.Management Namespace > WorkflowManagementServer Class : SetRunAsUser Method



userName
password
securityLabel
objectGuid
procID

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function SetRunAsUser( _
   ByVal userName As String, _
   ByVal password As String, _
   ByVal securityLabel As String, _
   ByVal objectGuid As Guid, _
   ByVal procID As Integer _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As WorkflowManagementServer
Dim userName As String
Dim password As String
Dim securityLabel As String
Dim objectGuid As Guid
Dim procID As Integer
Dim value As Boolean
 
value = instance.SetRunAsUser(userName, password, securityLabel, objectGuid, procID)

Parameters

userName
password
securityLabel
objectGuid
procID

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also