IGPMConstants Interface

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.

Methods

The IGPMConstants interface inherits the methods of the IUnknown interface.

In addition, IGPMConstants defines the following methods.

MethodDescription

get_DestinationOptionByRelativeName

Retrieves the constant value that corresponds to the GPMDestinationOption of opDestinationByRelativeName.

get_DestinationOptionNone

Retrieves the constant value that corresponds to the GPMDestinationOption of opDestinationNone.

get_DestinationOptionBySameAsSource

Retrieves the constant value that corresponds to the GPMDestinationOption of opDestinationSameAsSource.

get_DestinationOptionSet

Retrieves the constant value that corresponds to the GPMDestinationOption of opDestinationSet.

get_DoNotUseW2KDC

Retrieves the constant value that corresponds to the DoNotUseW2KDC property.

get_DoNotValidateDC

Retrieves the value of the DoNotValidateDC property.

get_EntryTypeComputer

Retrieves the constant value that corresponds to the GPMEntryType of typeComputer.

get_EntryTypeGlobalGroup

Retrieves the constant value that corresponds to the GPMEntryType of typeGlobalGroup.

get_EntryTypeLocalGroup

Retrieves the constant value that corresponds to the GPMEntryType of typeLocalGroup.

get_EntryTypeUNCPath

Retrieves the constant value that corresponds to the GPMEntryType of typeUNCPath.

get_EntryTypeUniversalGroup

Retrieves the constant value that corresponds to the GPMEntryType of typeUniversalGroup.

get_EntryTypeUnknown

Retrieves the constant value that corresponds to the GPMEntryType of typeUnknown.

get_EntryTypeUser

Retrieves the constant value that corresponds to the GPMEntryType of typeUser.

get_MigrationTableOnly

Retrieves the constant value that corresponds to the MigrationTableOnly property.

get_PermGPOApply

Retrieves the constant value that corresponds to the permGPOApply permission type.

get_PermGPOCustom

Retrieves the constant value that corresponds to the permGPOCustom permission type.

get_PermGPOEdit

Retrieves the constant value that corresponds to the permGPOEdit permission type.

get_PermGPOEditSecurityAndDelete

Retrieves the constant value that corresponds to the permGPOEditSecurityAndDelete permission type.

get_PermGPORead

Retrieves the constant value that corresponds to the permGPORead permission type.

get_PermSOMGPOCreate

Retrieves the constant value that corresponds to the permSOMGPOCreate permission type.

get_PermSOMLink

Retrieves the constant value that corresponds to the permSOMLink permission type.

get_PermSOMLogging

Retrieves the constant value that corresponds to the permSOMLogging permission type.

get_PermSOMPlanning

Retrieves the constant value that corresponds to the permSOMPlanning permission type.

get_PermSOMWMICreate

Retrieves the constant value that corresponds to the permSOMWMICreate permission type.

get_PermSOMWMIFullControl

Retrieves the constant value that corresponds to the permSOMWMIFullControl permission type.

get_PermWMIFilterCustom

Retrieves the constant value that corresponds to the permWMIFilterCustom permission type.

get_PermWMIFilterEdit

Retrieves the constant value that corresponds to the permWMIFilterEdit permission type.

get_PermWMIFilterFullControl

Retrieves the constant value that corresponds to the permWMIFilterFullControl permission type.

get_ProcessSecurity

Retrieves the constant value that corresponds to the ProcessSecurity property.

get_ReportHTML

Retrieves the constant value that corresponds to the ReportHTML property.

get_ReportXML

Retrieves the constant value that corresponds to the ReportXML property.

get_RsopLoggingNoComputer

Retrieves the constant value that corresponds to the RsopLoggingNoComputer property.

get_RsopLoggingNoUser

Retrieves the constant value that corresponds to the RsopLoggingNoUser property.

get_RSOPModeLogging

Retrieves the constant value that corresponds to the RSOPModeLogging property.

get_RSOPModePlanning

Retrieves the constant value that corresponds to the RSOPModePlanning property.

get_RSOPModeUnknown

Retrieves the constant value that corresponds to the RSOPModeUnknown property.

get_RsopPlanningAssumeCompWQLFilterTrue

Retrieves the constant value that corresponds to the RsopPlanningAssumeCompWQLFilterTrue property.

get_RsopPlanningAssumeSlowLink

Retrieves the constant value that corresponds to the RSOP_PLANNING_ASSUME_SLOW_LINK property.

get_RsopPlanningAssumeUserWQLFilterTrue

Retrieves the constant value that corresponds to the RsopPlanningAssumeUserWQLFilterTrue property.

get_RsopPlanningLoopbackOption

Retrieves the constant value that corresponds to the RsopPlanningLoopbackOption property.

get_SearchOpContains

Retrieves the constant value that corresponds to the opContains search operator.

get_SearchOpEquals

Retrieves the constant value that corresponds to the opEquals search operator.

get_SearchOpNotContains

Retrieves the constant value that corresponds to the opNotContains search operator.

get_SearchOpNotEquals

Retrieves the constant value that corresponds to the opNotEquals search operator.

get_SearchPropertyBackupMostRecent

Retrieves the constant value that corresponds to the backupMostRecent search property.

get_SearchPropertyGPODisplayName

Retrieves the constant value that corresponds to the gpoDisplayName search property.

get_SearchPropertyGPODomain

Retrieves the constant value that corresponds to the gpoDomain search property.

get_SearchPropertyGPOEffectivePermissions

Retrieves the constant value that corresponds to the gpoEffectivePermissions search property.

get_SearchPropertyGPOID

Retrieves the constant value that corresponds to the gpoID search property.

get_SearchPropertyGPOPermissions

Retrieves the constant value that corresponds to the gpoPermissions search property.

get_SearchPropertyGPOUserExtensions

Retrieves the constant value that corresponds to the gpoUserExtensions search property.

get_SearchPropertyGPOWMIFilter

Retrieves the constant value that corresponds to the gpoWMIFilter search property.

get_SearchPropertySOMLinks

Retrieves the constant value that corresponds to the somLinks search property.

get_SecurityFlags

Retrieves the value of the SecurityFlags property.

get_SOMDomain

Retrieves the constant value that corresponds to the somDomain scope of management (SOM) type.

get_SOMOU

Retrieves the constant value that corresponds to the somOU SOM type.

get_SOMSite

Retrieves the constant value that corresponds to the somSite SOM type.

get_UseAnyDC

Retrieves the constant value that corresponds to the UseAnyDC property.

get_UsePDC

Retrieves the constant value that corresponds to the UsePDC property.

get_SearchhPropertyGPOComputerExtensions

Retrieves the constant value that corresponds to the gpoComputerExtensions search property.

Properties

The IGPMConstants interface defines the following properties. The preceding table includes access methods for these properties.

PropertyAccess typeDescription

DestinationOptionByRelativeName

Read-only

Value that corresponds to the GPMDestinationOption of opDestinationByRelativeName.

DestinationOptionNone

Read-only

Value that corresponds to the GPMDestinationOption of opDestinationNone.

DestinationOptionSameAsSource

Read-only

Value that corresponds to the GPMDestinationOption of opDestinationSameAsSource.

DestinationOptionSet

Read-only

Value that corresponds to the GPMDestinationOption of opDestinationSet.

DoNotUseW2KDC

Read-only

Constant value that corresponds to the DoNotUseW2KDC property.

DoNotValidateDC

Read-only

Constant value that corresponds to the DoNotValidateDC property.

EntryTypeComputer

Read-only

Value that corresponds to the GPMEntryType of typeComputer.

EntryTypeGlobalGroup

Read-only

Value that corresponds to the GPMEntryType of typeGlobalGroup.

EntryTypeLocalGroup

Read-only

Value that corresponds to the GPMEntryType of typeLocalGroup.

EntryTypeUNCPath

Read-only

Value that corresponds to the GPMEntryType of typeUNCPath.

EntryTypeUniversalGroup

Read-only

Value that corresponds to the GPMEntryType of typeUniversalGroup.

EntryTypeUnknown

Read-only

Value that corresponds to the GPMEntryType of typeUnknown.

EntryTypeUser

Read-only

Value that corresponds to the GPMEntryType of typeUser.

MigrationTableOnly

Read-only

Value that corresponds to the GPM_MIGRATIONTABLE_ONLY constant.

PermGPOApply

Read-only

Constant value that corresponds to the permGPOApply permission type.

PermGPOCustom

Read-only

Constant value that corresponds to the permGPOCustom permission type.

PermGPOEdit

Read-only

Constant value that corresponds to the permGPOEdit permission type.

PermGPOEditSecurityAndDelete

Read-only

Constant value that corresponds to the permGPOEditSecurityAndDelete permission type.

PermGPORead

Read-only

Constant value that corresponds to the permGPORead permission type.

PermSOMGPOCreate

Read-only

Constant value that corresponds to the permSOMGPOCreate permission type.

PermSOMLink

Read-only

Constant value that corresponds to the permSOMLink permission type.

PermSOMLogging

Read-only

Constant value that corresponds to the permSOMLogging permission type.

PermSOMPlanning

Read-only

Constant value that corresponds to the permSOMPlanning permission type.

PermSOMWMICreate

Read-only

Constant value that corresponds to the permSOMWMICreate permission type.

PermSOMWMIFullControl

Read-only

Constant value that corresponds to the permSOMWMIFullControl permission type.

PermWMIFilterCustom

Read-only

Constant value that corresponds to the permWMIFilterCustom permission type.

PermWMIFilterEdit

Read-only

Constant value that corresponds to the permWMIFilterEdit permission type.

PermWMIFilterFullControl

Read-only

Constant value that corresponds to the permWMIFilterFullControl permission type.

ProcessSecurity

Read-only

Value that corresponds to the GPM_PROCESS_SECURITY constant.

ReportHTML

Read-only

Constant value that corresponds to the ReportHTML property.

ReportXML

Read-only

Constant value that corresponds to the ReportXML property.

RsopLoggingNoComputer

Read-only

Value that corresponds to the RSOP_NO_USER constant.

RsopLoggingNoUser

Read-only

Value that corresponds to the RSOP_NO_USER constant.

RSOPModeLogging

Read-only

Constant value that corresponds to the RSOPModeLogging property.

RSOPModePlanning

Read-only

Constant value that corresponds to the RSOPModePlanning property.

RSOPModeUnknown

Read-only

Constant value that corresponds to the RSOPModeUnknown property.

RsopPlanningAssumeCompWQLFilterTrue

Read-only

Value that corresponds to the RSOP_PLANNING_ASSUME_COMP_WQLFILTER_TRUE constant.

RsopPlanningAssumeSlowLink

Read-only

Value that corresponds to the RSOP_PLANNING_ASSUME_SLOW_LINK constant.

RsopPlanningAssumeUserWQLFilterTrue

Read-only

Value that corresponds to the RSOP_PLANNING_ASSUME_USER_WQLFILTER_TRUE constant.

RsopPlanningLoopbackOption

Read-only

If vbMerge is VARIANT_TRUE, pval corresponds to the RSOP_PLANNING_ASSUME_LOOPBACK_MERGE constant. If vbMerge is VARIANT_FALSE, pval corresponds to the RSOP_PLANNING_ASSUME_LOOPBACK_REPLACE constant.

SearchOpContains

Read-only

Constant value that corresponds to the opContains search operator.

SearchOpEquals

Read-only

Constant value that corresponds to the opEquals search operator.

SearchOpNotContains

Read-only

Constant value that corresponds to the opNotContains search operator.

SearchOpNotEquals

Read-only

Constant value that corresponds to the opNotEquals search operator.

SearchPropertyBackupMostRecent

Read-only

Constant value that corresponds to the backupMostRecent search property.

SearchPropertyGPOComputerExtensions

Read-only

Constant value that corresponds to the gpoComputerExtensions search property.

SearchPropertyGPODisplayName

Read-only

Constant value that corresponds to the gpoDisplayName search property.

SearchPropertyGPODomain

Read-only

Constant value that corresponds to the gpoDomain search property.

SearchPropertyGPOEffectivePermissions

Read-only

Constant value that corresponds to the gpoEffectivePermissions search property.

SearchPropertyGPOID

Read-only

Constant value that corresponds to the gpoID search property.

SearchPropertyGPOPermissions

Read-only

Constant value that corresponds to the gpoPermissions search property.

SearchPropertyGPOUserExtensions

Read-only

Constant value that corresponds to the gpoUserExtensions search property.

SearchPropertyGPOWMIFilter

Read-only

Constant value that corresponds to the gpoWMIFilter search property.

SearchPropertySOMLinks

Read-only

Constant value that corresponds to the somLinks search property.

SecurityFlags

Read-only

Represents the portions of the security descriptor that you want to retrieve or set for a Group Policy object (GPO). These values are required to call the IGPMGPO::GetSecurityDescriptor and IGPMGPO::SetSecurityDescriptor functions (the GPMGPO.GetSecurityDescriptor and GPMGPO.SetSecurityDescriptor methods).

SOMDomain

Read-only

Constant value that corresponds to the somDomain scope of management (SOM) type.

SOMOU

Read-only

Constant value that corresponds to the somOU SOM type.

SOMSite

Read-only

Constant value that corresponds to the somSite SOM type.

UseAnyDC

Read-only

Constant value that corresponds to the UseAnyDC property.

UsePDC

Read-only

Constant value that corresponds to the UsePDC property.

Remarks

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).

Requirements

Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
RedistributableGPMC on Windows Server 2003 or Windows XP with SP1
HeaderGpmgmt.h
IDLGpmgmt.idl
DLLGpmgmt.dll
IIDIID_IGPMConstants is defined as 50EF73E6-D35C-4C8D-BE63-7EA5D2AAC5C4

See Also

IGPM

Send comments about this topic to Microsoft

Build date: 3/9/2009

Tags :


Page view tracker