BuildMaster SDK Reference
Version:

CanPerformTask(ScopedTask scopedTask) Method

Returns a value indicating whether the current user is allowed to perform the specified task.

Syntax

public bool CanPerformTask(ScopedTask scopedTask)

Parameters

scopedTask
Type: ScopedTask

The task to check.

Returns

True if the current user can perform the task; otherwise false.

Exceptions

System.ArgumentNullException

scopedTask is null (Nothing in Visual Basic).