Using Tokens to Reference Users and Groups
Certain rules, including Field List Items, Conditional Field Rule Attributes, and Transition Security, apply to both users and groups.
The work item type definition language supports the following tokens for referencing users and groups.
This token is used to reference a server-scoped Team Foundation Server group.
<FIELD name="Title"> <READONLY for="[Global]\Team Foundation Valid Users"/> </FIELD>
This token is used to reference a team project-scoped Team Foundation Server group.
<FIELD name="Test Needed"> <READONLY not="[Project]\Testers"/> </FIELD>
A domain-qualified account name such as the one shown in the following example can be used to reference a domain user or group. Note that some rules only support groups and do not support referencing domain users.
<LISTITEM value="Example1\JayHamlin’s Direct Reports"/>
All users and groups must be qualified by one of these tokens. For example, the following XML is not valid because it does not qualify the specified group with a valid token.
<FIELD name="Title"> <READONLY for="Dev Team"/> </FIELD>