Export (0) Print
Expand All

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.

Members

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

Methods

The IGPMConstants interface has these methods.

MethodDescription
get_SearchhPropertyGPOComputerExtensions

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

 

Properties

The IGPMConstants interface has these properties.

PropertyDescription

DestinationOptionByRelativeName

Value that corresponds to the GPMDestinationOption of opDestinationByRelativeName.

DestinationOptionNone

Value that corresponds to the GPMDestinationOption of opDestinationNone.

DestinationOptionSameAsSource

Value that corresponds to the GPMDestinationOption of opDestinationSameAsSource.

DestinationOptionSet

Value that corresponds to the GPMDestinationOption of opDestinationSet.

DoNotUseW2KDC

Constant value that corresponds to the DoNotUseW2KDC property.

DoNotValidateDC

Constant value that corresponds to the DoNotValidateDC property.

EntryTypeComputer

Value that corresponds to the GPMEntryType of typeComputer.

EntryTypeGlobalGroup

Value that corresponds to the GPMEntryType of typeGlobalGroup.

EntryTypeLocalGroup

Value that corresponds to the GPMEntryType of typeLocalGroup.

EntryTypeUNCPath

Value that corresponds to the GPMEntryType of typeUNCPath.

EntryTypeUniversalGroup

Value that corresponds to the GPMEntryType of typeUniversalGroup.

EntryTypeUnknown

Value that corresponds to the GPMEntryType of typeUnknown.

EntryTypeUser

Value that corresponds to the GPMEntryType of typeUser.

MigrationTableOnly

Value that corresponds to the GPM_MIGRATIONTABLE_ONLY constant.

PermGPOApply

Constant value that corresponds to the permGPOApply permission type.

PermGPOCustom

Constant value that corresponds to the permGPOCustom permission type.

PermGPOEdit

Constant value that corresponds to the permGPOEdit permission type.

PermGPOEditSecurityAndDelete

Constant value that corresponds to the permGPOEditSecurityAndDelete permission type.

PermGPORead

Constant value that corresponds to the permGPORead permission type.

PermSOMGPOCreate

Constant value that corresponds to the permSOMGPOCreate permission type.

PermSOMLink

Constant value that corresponds to the permSOMLink permission type.

PermSOMLogging

Constant value that corresponds to the permSOMLogging permission type.

PermSOMPlanning

Constant value that corresponds to the permSOMPlanning permission type.

PermSOMWMICreate

Constant value that corresponds to the permSOMWMICreate permission type.

PermSOMWMIFullControl

Constant value that corresponds to the permSOMWMIFullControl permission type.

PermWMIFilterCustom

Constant value that corresponds to the permWMIFilterCustom permission type.

PermWMIFilterEdit

Constant value that corresponds to the permWMIFilterEdit permission type.

PermWMIFilterFullControl

Constant value that corresponds to the permWMIFilterFullControl permission type.

ProcessSecurity

Value that corresponds to the GPM_PROCESS_SECURITY constant.

ReportHTML

Constant value that corresponds to the ReportHTML property.

ReportXML

Constant value that corresponds to the ReportXML property.

RsopLoggingNoComputer

Value that corresponds to the RSOP_NO_USER constant.

RsopLoggingNoUser

Value that corresponds to the RSOP_NO_USER constant.

RSOPModeLogging

Constant value that corresponds to the RSOPModeLogging property.

RSOPModePlanning

Constant value that corresponds to the RSOPModePlanning property.

RSOPModeUnknown

Constant value that corresponds to the RSOPModeUnknown property.

RsopPlanningAssumeCompWQLFilterTrue

Value that corresponds to the RSOP_PLANNING_ASSUME_COMP_WQLFILTER_TRUE constant.

RsopPlanningAssumeSlowLink

Value that corresponds to the RSOP_PLANNING_ASSUME_SLOW_LINK constant.

RsopPlanningAssumeUserWQLFilterTrue

Value that corresponds to the RSOP_PLANNING_ASSUME_USER_WQLFILTER_TRUE constant.

RsopPlanningLoopbackOption

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

Constant value that corresponds to the opContains search operator.

SearchOpEquals

Constant value that corresponds to the opEquals search operator.

SearchOpNotContains

Constant value that corresponds to the opNotContains search operator.

SearchOpNotEquals

Constant value that corresponds to the opNotEquals search operator.

SearchPropertyBackupMostRecent

Constant value that corresponds to the backupMostRecent search property.

SearchPropertyGPOComputerExtensions

Constant value that corresponds to the gpoComputerExtensions search property.

SearchPropertyGPODisplayName

Constant value that corresponds to the gpoDisplayName search property.

SearchPropertyGPODomain

Constant value that corresponds to the gpoDomain search property.

SearchPropertyGPOEffectivePermissions

Constant value that corresponds to the gpoEffectivePermissions search property.

SearchPropertyGPOID

Constant value that corresponds to the gpoID search property.

SearchPropertyGPOPermissions

Constant value that corresponds to the gpoPermissions search property.

SearchPropertyGPOUserExtensions

Constant value that corresponds to the gpoUserExtensions search property.

SearchPropertyGPOWMIFilter

Constant value that corresponds to the gpoWMIFilter search property.

SearchPropertySOMLinks

Constant value that corresponds to the somLinks search property.

SecurityFlags

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

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

SOMOU

Constant value that corresponds to the somOU SOM type.

SOMSite

Constant value that corresponds to the somSite SOM type.

UseAnyDC

Constant value that corresponds to the UseAnyDC property.

UsePDC

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 client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Redistributable

GPMC on Windows Server 2003 or Windows XP with SP1

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMConstants is defined as 50EF73E6-D35C-4C8D-BE63-7EA5D2AAC5C4

See also

IGPM

 

 

Show:
© 2014 Microsoft