.NET Framework Class Library
Workflow.QueryWorkflowStatePermissions Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Workflow Class > Workflow Methods >

.NET Framework Class Library
Workflow.QueryWorkflowStatePermissions Method

It is a Workflow specific command; it returns the permission of the currently logged-in user about the workflow state identified by the state index of the process with name process name.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function QueryWorkflowStatePermissions ( _

 processName As String, _
 stateIndex As Integer _
As Boolean

C#

public bool QueryWorkflowStatePermissions(

 string processName,
 int stateIndex
)

Visual C++

public:

bool QueryWorkflowStatePermissions(
 StringprocessName,
 int stateIndex
)

JavaScript

function queryWorkflowStatePermissions(processNamestateIndex);

Parameters

processName

Type: System.String
Name of the process to query on

stateIndex

Type: System.Int32
Workflow state

Return Value

True if permissions are ok

False otherwise

See Also

Workflow Class

Workflow Members

MwPDMApi Namespace