Indicates whether the connected user has rights to a task.
To determine whether the connected user is allowed to perform multiple tasks, use GetTaskAccessForConnectedUserFromList. For details, see GetTaskAccessForConnectedUserFromList. |
<HsvSecurityAccess>.IsConnectedUserAllowedToPerformTask lTaskID, pbHasAccess
Long (ByVal). The ID of the task. For a list of valid task IDs, see Task Constants. | |
Boolean. Returns TRUE if the connected user has rights to the task, FALSE otherwise. |
IsConnectedUserAllowedToPerformTask is used in the Example for HsvProcessFlow.Promote.