Partager via


class Attribute

Applies To: Windows Server 2008

The class attribute, defined in the .admx file, identifies whether the policy setting will be located under a single node of the Group Policy Object Editor (computer or user) or both nodes.

Syntax

class="Machine|User|Both"

where

Machine identifies placement of the policy setting under the computer configuration node.

User identifies placement of the policy setting under the user configuration node.

Both identifies placement of the policy setting under both the computer and user configuration nodes.

Examples

This XML fragment identifies a policy setting to be displayed under the computer configuration node.

class="Machine"

Additional references

policy Element