BuildMaster SDK Reference
Version:

CanPerformTask(Inedo.Security.ScopedTask scopedTask) Method

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

Syntax

public static bool CanPerformTask(Inedo.Security.ScopedTask scopedTask)

Parameters

scopedTask
Type: Inedo.Security.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).