BuildMaster SDK Reference
Version:

ValidatePrivileges(ScopedTask scopedTask) Method

Verifies that the current user can perform the specified task.

Syntax

public static void ValidatePrivileges(ScopedTask scopedTask)

Parameters

scopedTask
Type: ScopedTask

The task to test.

Exceptions

SecuredTaskDeniedException

The user cannot perform the specified task.