Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

enum

An enumeration element in a policy.

Element hierarchy

<policyDefinitions>
<policies>
<policy>
<elements>
<enum>

Syntax

<enum id               = string
      clientExtension? = GUID
      key?             = registryKey
      valueName?       = registryValueName
      required?        = boolean : "false" >

  <!-- Child elements -->
  item*

</enum>

Key

?   optional (zero or one)
:   default value
*   optional (zero or more)

Attributes and Elements

Attributes

AttributeDescriptionData typeRequiredDefault value
clientExtension

The GUID of the extension.

GUIDNo
id

Identifies the element.

stringYes
key

A valid registry key path (without reference to local system or user hive).

registryKeyNo
required

True if the element is required.

booleanNofalse
valueName

A valid registry value name.

registryValueNameNo

 

Child Elements

Child ElementDescription
item (in type: EnumerationElement)

One of the values in an EnumerationElement.

 

Parent Elements

Parent ElementDescription
elements

Defines the types of optional parameters defined in a policy setting. The number and type of PolicyElements must match the policy presentation elements.

 

Requirements

Namespace

http://www.microsoft.com/GroupPolicy/PolicyDefinitions

 

 

Show: