BuildMaster SDK Reference
Version:

CanPerformTasks(System.Collections.Generic.IEnumerable<ScopedTask> scopedTasks) Method

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

Syntax

public static bool[] CanPerformTasks(IEnumerable<ScopedTask> scopedTasks)

Parameters

scopedTasks
Type: System.Collections.Generic.IEnumerable<ScopedTask>

The tasks to check.

Returns

Array of values whose indexes correspond to the supplied tasks.

Exceptions

System.ArgumentNullException

scopedTasks is null (Nothing in Visual Basic).