IsConnectedUserAllowedToPerformTask

Indicates whether the connected user has rights to a task.

Tip:

To determine whether the connected user is allowed to perform multiple tasks, use GetTaskAccessForConnectedUserFromList. For details, see GetTaskAccessForConnectedUserFromList.

Syntax

<HsvSecurityAccess>.IsConnectedUserAllowedToPerformTask lTaskID, pbHasAccess

Argument

Description

lTaskID

Long (ByVal). The ID of the task. For a list of valid task IDs, see Task Constants.

pbHasAccess

Boolean. Returns TRUE if the connected user has rights to the task, FALSE otherwise.

Example

IsConnectedUserAllowedToPerformTask is used in the Example for HsvProcessFlow.Promote.