Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IGPMConstants2 interface

The IGPMConstants2 interface supports methods that retrieve the value of multiple Group Policy Management Console (GPMC) constants. The constants that are supported by IGPMConstants2 provide Starter Group Policy object (GPO) and comment support. To create a GPMConstants2 object, call the IGPM::GetConstants method.

The GPMConstants object that implements the IGPMConstants2 interface does not introduce new constants. All the constant values and the enumeration types that are returned by the GPMConstants object can be found in either the GPMC header file (Gpmgmt.idl or Gpmgmt.h) or in the GPMC type library that is embedded in the Gpmgmt.dll dynamic-link library. Use the GPMConstants object only if you do not have access to the header or to the type library.

Members

The IGPMConstants2 interface inherits from IGPMConstants. IGPMConstants2 also has these types of members:

Properties

The IGPMConstants2 interface has these properties.

PropertyDescription

BackupTypeGPO

Value that corresponds to the BackupTypeGPO property.

BackupTypeStarterGPO

Value that corresponds to the BackupTypeStarterGPO property.

PermStarterGPOCustom

Constant value that corresponds to the PermStarterGPOCustom property.

PermStarterGPOEdit

Constant value that corresponds to the PermStarterGPOEdit property.

PermStarterGPOFullControl

Constant value that corresponds to the PermStarterGPOFullControl property.

PermStarterGPORead

Constant value that corresponds to the PermStarterGPORead property.

ReportComments

Constant value that corresponds to the ReportComments property.

ReportLegacy

Constant value that corresponds to the ReportLegacy property.

SearchPropertyStarterGPODisplayName

Constant value that corresponds to the SearchPropertyStarterGPODisplayName property.

SearchPropertyStarterGPODomain

Constant value that corresponds to the SearchPropertyStarterGPODomain property.

SearchPropertyStarterGPOEffectivePermissions

Constant value that corresponds to the SearchPropertyStarterGPOEffectivePermissions property.

SearchPropertyStarterGPOID

Constant value that corresponds to the SearchPropertyStarterGPOID property.

SearchPropertyStarterGPOPermissions

Constant value that corresponds to the SearchPropertyStarterGPOPermissions property.

StarterGPOTypeCustom

Value that corresponds to the StarterGPOTypeCustom property.

StarterGPOTypeSystem

Value that corresponds to the StarterGPOTypeSystem property.

 

Remarks

For more information about policy-related permissions, see IGPM::CreatePermission (GPM.CreatePermission).

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_IGPMConstants2 is defined as 05AE21B0-AC09-4032-A26F-9E7DA786DC19

See also

IGPM
IGPMConstants

 

 

Show:
© 2015 Microsoft