IGPMConstants interface (gpmgmt.h)

The IGPMConstants interface supports methods that retrieve the value of multiple Group Policy Management Console (GPMC) constants. To create a GPMConstants object, call the IGPM::GetConstants method.

The GPMConstants object that implements the IGPMConstants interface does not introduce new constants. All the constant values and 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.


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


The IGPMConstants interface has these methods.


Retrieves the value of the SecurityFlags property, which represents the portion of the security descriptor to retrieve or set for a GPO.


Properties that begin with PermGPO apply only to GPOs. Properties that begin with PermWMIFilter apply only to Windows Management Instrumentation (WMI) filters.

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


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

See also