Windows Dev Center

IGPMGPO2 interface

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.

Members

The IGPMGPO2 interface inherits from IGPMGPO. IGPMGPO2 also has these types of members:

Properties

The IGPMGPO2 interface has these properties.

PropertyDescription

Description

GPO comment or description.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Redistributable

GPMC on Windows Server 2003 or Windows XP with SP1

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMGPO2 is defined as 8A66A210-B78B-4d99-88E2-C306A817C925

See also

IGPMGPO
IGPM
IGPMDomain
IGPMDomain2
IGPMWMIFilter
IGPMBackup
IGPMGPOCollection

 

 

Show:
© 2015 Microsoft