Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Windows Server 2008
The boolean element sets a value based on the true and false cases in a policy setting. The boolean element is generally associated with check box parameters in the Group Policy Management Console (GPMC) or the Local Group Policy Editor.
Syntax
<boolean id="<placeholderID>"
clientExtension="<placeholderGUID>"
key="<placeholderRegKey>"
valuename="<placeholderName>">
<trueValue> … </trueValue>
<falseValue> … </falseValue>
<trueList> … </trueList>
<falseList> … </falseList>
</boolean>
Attributes
| Attributes | Required | Description |
|---|---|---|
Yes |
A mapping to the boolean element. |
|
No |
The client-side extension will process, on the client computer, the particular settings represented by the boolean element. |
|
No |
The registry key location under which the registry value will be created |
|
Yes |
The registry value that will be configured for this specific policy element. |
Child elements
| Element | Required | Description |
|---|---|---|
No |
Sets a value based on the true condition. |
|
No |
Sets a value based on the false condition. |
|
No |
Sets values based on the true condition. |
|
No |
Sets values based on the false condition. |
Note
For simplicity of documentation, nested elements located one level down, known as child elements, will only be described for a given element.
Remarks
A boolean element in an .admx file will require a matching checkBox element with matching id in the corresponding .adml file.
Examples
This XML fragment is an example of defining a boolean element for true and false cases.
<boolean id="Checkbox_1" valueName="Example2Checkbox1">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>