BuildMaster SDK Reference
Version:

SecuredTaskDeniedException(SecuredTask task, string userName, int privilegeId) Constructor

Initializes a new instance of the SecuredTaskDeniedException class.

Syntax

public .ctor(SecuredTask task, string userName, int privilegeId)

Parameters

task
Type: SecuredTask

The task that cannot be performed.

userName
Type: string

The name of the user which was denied the task.

privilegeId
Type: int

The ID of the deny privilege if applicable.