BuildMaster SDK Reference
Version:

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

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

Syntax

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

Parameters

scopedTasks
Type: System.Collections.Generic.IEnumerable<Inedo.Security.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).