IGPMGPO2 interface (gpmgmt.h)

The IGPMGPO2 interface supports methods that enable you to manage Group Policy objects (GPOs) and Starter Group Policy objects in the directory service.

Note that you cannot use this interface to manage local GPOs (LGPOs).

You can instantiate a GPMGPO2 object by creating a new one with a call to IGPMDomain::CreateGPO, or IGPMDomain2::CreateStarterGPO retrieving an existing one with a call to IGPMDomain::GetGPO, calling IGPMDomain2::GetStarterGPO or by searching for one with a call to IGPMDomain::SearchGPOs. You can also create a GPO from an existing Starter GPO with a call to IGPMDomain2::CreateGPOFromStarterGPO. After creating the object, you can query the GPO and set properties related to the GPO.

Inheritance

The IGPMGPO2 interface inherits from the IGPMGPO interface.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h

See also

IGPM

IGPMBackup

IGPMDomain

IGPMDomain2

IGPMGPO

IGPMGPOCollection

IGPMWMIFilter