RuntimeServiceCanAssignUserToActivityInstance Method |
Verify if the user can assign an activity instance to another user
Namespace:
Advantys.Workflow.Web.Services.Processes.Runtime
Assembly:
Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: 7.17.0.0 (7.17.0.20200120)
Syntax public bool CanAssignUserToActivityInstance(
int processInstanceId,
int activityInstanceId,
string assigneeUsername,
bool isSuperUserMode
)
Public Function CanAssignUserToActivityInstance (
processInstanceId As Integer,
activityInstanceId As Integer,
assigneeUsername As String,
isSuperUserMode As Boolean
) As Boolean
Parameters
- processInstanceId
- Type: SystemInt32
Request ID of the action to assign. - activityInstanceId
- Type: SystemInt32
ID of the action to assign. - assigneeUsername
- Type: SystemString
The assignee's username. - isSuperUserMode
- Type: SystemBoolean
Indicates to run in super user mode.
Return Value
Type:
BooleanTrue if the user can assign the action to the specific user
Remarks Available since WorkflowGen version: 5.6.4
Only actions, where the connected user belongs to the action's participant, can be verified if he is allowed to assign when isSuperUserMode is false.
Optional Parameters.
These parameters can be used in the query string or as parameters of the SOAP headers (see examples for more information).
delegateUsername (string) | Specifies the delegate username for delegation mode. |
impersonateUsername (string) | Username to use for impersonation. Operation is available for allowed users only. |
See Also