Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Use 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.

[Global]

This token is used to reference a server-scoped Team Foundation Server group.

<FIELD name="Title">
<READONLY for="[Global]\Team Foundation Valid Users"/>
</FIELD>

[Project]

This token is used to reference a team project-scoped Team Foundation Server group.

<FIELD name="Test Needed">
<READONLY not="[Project]\Testers"/>
</FIELD>

Domain Qualifier

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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.