2.2.3.1.15 ApprovedComputerTargetGroups Attribute

If present, this attribute specifies a list of target group GUIDs. An update is included only if it is approved for either installation or uninstallation to at least one of the target groups specified. If the attribute is absent, the update can be associated with any target group.

The list of allowable target groups is defined as a string of an XML fragment:

  
 '<root><TargetGroupID>GUID</TargetGroupID>...</root>'

Because this is an attribute, the XML fragment has to be escaped, for example:

  
 ApprovedComputerTargetGroups = "&lt;root&gt;&lt;TargetGroupID &gt;GUID&lt;/TargetGroupID &gt;&lt;/root&gt;"