Export (0) Print
Expand All
Expand Minimize

VALIDUSER Element (Work Item Type Definition Schema)

Specifies a valid user or group who can modify the field.


<VALIDUSER for="user name" not="user name" group="group name" />

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

for

Optional PlainRule attribute.

The name of a user to whom this rule applies.

not

Optional PlainRule attribute.

The name of a user to whom this rule does not apply.

group

Optional ValidUserRule attribute.

The name of a group for whom this rule applies.

Child Elements

None.

Parent Elements

Element Description

FIELD (Work Item Type Definition Schema)

Required element.

References a work item field definition and the rules and conditions that apply to the field. The reference is based on the STATE, TRANSITION, DEFAULTREASON, or REASON element that its parent FIELDS element is a child of.

FIELD (WORKITEMTYPE element)

Required element.

Defines a work item field and specifies the rules and conditions that apply to it.

WHENCHANGED

Optional element.

Specifies one or more rules to apply to the current field when a specified field is changed.

WHENNOTCHANGED

Optional element.

Specifies one or more rules to apply to the current field when a specific field is not changed.

VALIDUSER is an optional child element of FIELD (Work Item Type Definition Schema), FIELD (WORKITEMTYPE Element), WHENCHANGED, and WHENNOTCHANGED.

If you do not define one of the optional attributes, all valid Team Foundation Server users and groups will be able to modify the field.

Namespace

http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

ValidUserRule

Can Be Empty

Not applicable

Community Additions

ADD
Show:
© 2014 Microsoft