IGPMConstants Property Methods

The property methods of the IGPMConstants interface get the properties that are described in the following table. For a general discussion of property methods, see Interface Property Methods in the Active Directory Service Interfaces (ADSI) documentation.

The IGPMConstants interface defines the following properties.

Properties

DestinationOptionByRelativeName
Value that corresponds to the GPMDestinationOption of opDestinationByRelativeName.
Access type: Read-only
// C++ method syntax
HRESULT get_DestinationOptionByRelativeName(
  [out] GPMDestinationOption* pVal
);

DestinationOptionNone
Value that corresponds to the GPMDestinationOption of opDestinationNone.
Access type: Read-only
// C++ method syntax
HRESULT get_DestinationOptionNone(
  [out] GPMDestinationOption* pVal
);

DestinationOptionSameAsSource
Value that corresponds to the GPMDestinationOption option of opDestinationSameAsSource.
Access type: Read-only
// C++ method syntax
HRESULT get_DestinationOptionSameAsSource(
  [out] GPMDestinationOption* pVal
);

DestinationOptionSet
Value that corresponds to the GPMDestinationOption option of opDestinationSet.
Access type: Read-only
// C++ method syntax
HRESULT get_DestinationOptionSet(
  [out] GPMDestinationOption* pVal
);

DoNotUseW2KDC
Value that corresponds to the DoNotUseW2KDC property.
Access type: Read-only
// C++ method syntax
HRESULT get_DoNotUseW2KDC(
  [out] long* pVal
);

DoNotValidateDC
Value that corresponds to the DoNotValidateDC property.
Access type: Read-only
// C++ method syntax
HRESULT get_DoNotValidateDC(
  [out] long* pVal
);

EntryTypeComputer
Value that corresponds to the GPMEntryType of typeComputer.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeComputer(
  [out] GPMEntryType* pVal
);

EntryTypeGlobalGroup
Value that corresponds to the GPMEntryType of typeGlobalGroup.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeGlobalGroup(
  [out] GPMEntryType* pVal
);

EntryTypeLocalGroup
Value that corresponds to the GPMEntryType of typeLocalGroup.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeLocalGroup(
  [out] GPMEntryType* pVal
);

EntryTypeUNCPath
Value that corresponds to the GPMEntryType of typeUNCPath.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeUNCPath(
  [out] GPMEntryType* pVal
);

EntryTypeUniversalGroup
Value that corresponds to the GPMEntryType of typeUniversalGroup.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeUniversalGroup(
  [out] GPMEntryType* pVal
);

EntryTypeUnknown
Value that corresponds to the GPMEntryType of typeUnknown.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeUnknown(
  [out] GPMEntryType* pVal
);

EntryTypeUser
Value that corresponds to the GPMEntryType of typeUser.
Access type: Read-only
// C++ method syntax
HRESULT get_EntryTypeUser(
  [out] GPMEntryType* pVal
);

MigrationTableOnly
Value that corresponds to the GPM_MIGRATIONTABLE_ONLY constant.
Access type: Read-only
// C++ method syntax
HRESULT get_MigrationTableOnly(
  [out] long* pVal
);

PermGPOApply
Constant value that corresponds to the permGPOApply permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermGPOApply(
  [out] GPMPermissionType* pVal
);

PermGPOCustom
Constant value that corresponds to the permGPOCustom permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermGPOCustom(
  [out] GPMPermissionType* pVal
);

PermGPOEdit
Constant value that corresponds to the permGPOEdit permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermGPOEdit(
  [out] GPMPermissionType* pVal
);

PermGPOEditSecurityAndDelete
Constant value that corresponds to the permGPOEditSecurityAndDelete permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermGPOEditSecurityAndDelete(
  [out] GPMPermissionType* pVal
);

PermGPORead
Constant value that corresponds to the permGPORead permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermGPORead(
  [out] GPMPermissionType* pVal
);

PermSOMGPOCreate
Constant value that corresponds to the permSOMGPOCreate permission type. Applies to domains only.
Access type: Read-only
// C++ method syntax
HRESULT get_PermSOMGPOCreate(
  [out] GPMPermissionType* pVal
);

PermSOMLink
Constant value that corresponds to the permSOMLink permission type. Applies to sites, domains, and organizational units (OUs).
Access type: Read-only
// C++ method syntax
HRESULT get_PermSOMLink(
  [out] GPMPermissionType* pVal
);

PermSOMLogging
Constant value that corresponds to the permSOMLogging permission type. Applies to domains and OUs.
Access type: Read-only
// C++ method syntax
HRESULT get_PermSOMLogging(
  [out] GPMPermissionType* pVal
);

PermSOMPlanning
Constant value that corresponds to the permSOMPlanning permission type. Applies to domains and OUs.
Access type: Read-only
// C++ method syntax
HRESULT get_PermSOMPlanning(
  [out] GPMPermissionType* pVal
);

PermSOMWMICreate
Constant value that corresponds to the permSOMWMICreate permission type. Applies to domains only.
Access type: Read-only
// C++ method syntax
HRESULT get_PermSOMWMICreate(
  [out] GPMPermissionType* pVal
);

PermSOMWMIFullControl
Constant value that corresponds to the permSOMWMIFullControl permission type. Applies to domains only.
Access type: Read-only
// C++ method syntax
HRESULT get_PermSOMWMIFullControl(
  [out] GPMPermissionType* pVal
);

PermWMIFilterCustom
Constant value that corresponds to the permWMIFilterCustom permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermWMIFilterCustom(
  [out] GPMPermissionType* pVal
);

PermWMIFilterEdit
Constant value that corresponds to the permWMIFilterEdit permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermWMIFilterEdit(
  [out] GPMPermissionType* pVal
);

PermWMIFilterFullControl
Constant value that corresponds to the permWMIFilterFullControl permission type.
Access type: Read-only
// C++ method syntax
HRESULT get_PermWMIFilterFullControl(
  [out] GPMPermissionType* pVal
);

ProcessSecurity
Value that corresponds to the GPM_PROCESS_SECURITY constant.
Access type: Read-only
// C++ method syntax
HRESULT get_ProcessSecurity(
  [out] long* pVal
);

ReportHTML
Value that corresponds to the ReportHTML property. Passed to GenerateReport methods to generate a report in HTML.
Access type: Read-only
// C++ method syntax
HRESULT get_ReportHTML(
  [out] GPMReportType* pVal
);

ReportXML
Value that corresponds to the ReportXML property. Passed to GenerateReport methods to generate a report in XML.
Access type: Read-only
// C++ method syntax
HRESULT get_ReportXML(
  [out] GPMReportType* pVal
);

RsopLoggingNoComputer
Value that corresponds to the RSOP_NO_USER constant.
Access type: Read-only
// C++ method syntax
HRESULT get_RsopLoggingNoComputer(
  [out] long* pVal
);

RsopLoggingNoUser
Value that corresponds to the RSOP_NO_USER constant.
Access type: Read-only
// C++ method syntax
HRESULT get_RsopLoggingNoUser(
  [out] long* pVal
);

RSOPModeLogging
Value that corresponds to the RSOPModeLogging property.
Access type: Read-only
// C++ method syntax
HRESULT get_RSOPModeUnknown(
  [out] GPMRSOPMode* pVal
);

RSOPModePlanning
Value that corresponds to the RSOPModePlanning property.
Access type: Read-only
// C++ method syntax
HRESULT get_RSOPModePlanning(
  [out] GPMRSOP* pVal
);

RSOPModeUnknown
Value that corresponds to the RSOPModeUnknown property.
Access type: Read-only
// C++ method syntax
HRESULT get_RSOPModeUnknown(
  [out] GPMRSOPMode* pVal
);

RsopPlanningAssumeCompWQLFilterTrue
Value that corresponds to the RSOP_PLANNING_ASSUME_COMP_WQLFILTER_TRUE constant.
Access type: Read-only
// C++ method syntax
HRESULT get_RSOPModeUnknown(
  [out] long* pVal
);

RsopPlanningAssumeSlowLink
Value that corresponds to the RSOP_PLANNING_ASSUME_SLOW_LINK constant.
Access type: Read-only
// C++ method syntax
HRESULT get_RsopPlanningAssumeSlowLink(
  [out] long pVal
);

RsopPlanningAssumeUserWQLFilterTrue
Value that corresponds to the RSOP_PLANNING_ASSUME_USER_WQLFILTER_TRUE constant.
Access type: Read-only
// C++ method syntax
HRESULT get_RSOPModeUnknown(
  [out] long* pVal
);

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.
Access type: Read-only
// C++ method syntax
HRESULT get_RsopPlanningLoopbackOption(
  [in] VARIANT_BOOL vbMerge,
  [out] long* pVal
);

SearchOpContains
Constant value that corresponds to the opContains search operator.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchOpContains(
  [out] GPMSearchProperty* pVal
);

SearchOpEquals
Constant value that corresponds to the opEquals search operator.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchOpEquals(
  [out] GPMSearchProperty* pVal
);

SearchOpNotContains
Constant value that corresponds to the opNotContains search operator.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchOpNotContains(
  [out] GPMSearchProperty* pVal
);

SearchOpNotEquals
Constant value that corresponds to the opNotEquals search operator.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchOpNotEquals(
  [out] GPMSearchProperty* pVal
);

SearchPropertyBackupMostRecent
Constant value that corresponds to the backupMostRecent search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyBackupMostRecent(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPOComputerExtensions
Constant value that corresponds to the gpoComputerExtensions search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPOComputerExtensions(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPODisplayName
Constant value that corresponds to the gpoDisplayName search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPODisplayName(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPODomain
Constant value that corresponds to the gpoDomain search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPODomain(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPOEffectivePermissions
Constant value that corresponds to the gpoEffectivePermissions search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPOEffectivePermissions(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPOID
Constant value that corresponds to the gpoID search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPOID(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPOPermissions
Constant value that corresponds to the gpoPermissions search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPOPermissions(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPOUserExtensions
Constant value that corresponds to the gpoUserExtensions search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPOUserExtensions(
  [out] GPMSearchProperty* pVal
);

SearchPropertyGPOWMIFilter
Constant value that corresponds to the gpoWMIFilter search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertyGPOWMIFilter(
  [out] GPMSearchProperty* pVal
);

SearchPropertySOMLinks
Constant value that corresponds to the somLinks search property.
Access type: Read-only
// C++ method syntax
HRESULT get_SearchPropertySOMLinks(
  [out] GPMSearchProperty* pVal
);

SecurityFlags
The value of the SecurityFlags property, which represents the portion of the security descriptor that you want to retrieve or set for a Group Policy object (GPO); for example, the discretionary access control list (DACL), the system access control list (SACL), the group, or the owner. You can pass the returned value in the ulFlags parameter to the IGPMGPO::GetSecurityDescriptor and IGPMGPO::SetSecurityDescriptor functions.
This property takes four parameters. Pass in the boolean values that represent the portions of the security descriptor that you want to retrieve or set. For example, a call to this property using VBScript as follows.
SecurityFlags = GPMConstants.SecurityFlags(bOwner, bGroup, bDACL, bSACL)
For more information about the SecurityFlags property, see get_SecurityFlags.
Access type: Read/write
// C++ method syntax
HRESULT get_SecurityFlags(
  [in] VARIANT_BOOL vbOwner,
  [in] VARIANT_BOOL vbGroup,
  [in] VARIANT_BOOL vbDACL,
  [in] VARIANT_BOOL vbSACL,
  [out] long* pVal
);

SOMDomain
Constant value that corresponds to the somDomain SOM type.
Access type: Read-only
// C++ method syntax
HRESULT get_SOMDomain(
  [out] GPMSOMType* pVal
);

SOMOU
Constant value that corresponds to the somOU SOM type.
Access type: Read-only
// C++ method syntax
HRESULT get_SOMOU(
  [out] GPMSOMType* pVal
);

SOMSite
Constant value that corresponds to the somSite SOM type.
Access type: Read-only
// C++ method syntax
HRESULT get_SOMSite(
  [out] GPMSOMType* pVal
);

UseAnyDC
Value that corresponds to the UseAnyDC property.
Access type: Read-only
// C++ method syntax
HRESULT get_UseAnyDC(
  [out] long* pVal
);

UsePDC
Value that corresponds to the UsePDC property.
Access type: Read-only
// C++ method syntax
HRESULT get_UsePDC(
  [out] long* pVal
);

 

Remarks

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

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

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

See also

IGPMConstants
IGPM

 

 

Show: