Edit

Share via


BuildAuthorizationScope Enum

Definition

Represents the desired scope of authorization for a build.

[System.Runtime.Serialization.DataContract]
public enum BuildAuthorizationScope
type BuildAuthorizationScope = 
Public Enum BuildAuthorizationScope
Inheritance
BuildAuthorizationScope
Attributes

Fields

Name Value Description
ProjectCollection 1

The identity used should have build service account permissions scoped to the project collection. This is useful when resources for a single build are spread across multiple projects.

Project 2

The identity used should have build service account permissions scoped to the project in which the build definition resides. This is useful for isolation of build jobs to a particular team project to avoid any unintentional escalation of privilege attacks during a build.

Applies to