IGPMSOM interface

The IGPMSOM interface contains methods that allow you to create and retrieve GPO links for a scope of management (SOM), and to set and retrieve security attributes and various properties for a SOM. A SOM can be a site, domain or OU.

Members

The IGPMSOM interface inherits from the IDispatch interface. IGPMSOM also has these types of members:

Methods

The IGPMSOM interface has these methods.

MethodDescription
CreateGPOLink

Links a GPO to the specified position and sets various link-specific properties.

GetGPOLinks

Returns a collection of GPO links for the SOM.

GetInheritedGPOLinks

Returns a collection of GPO links that are applied to the SOM, including links inherited from parent containers.

GetSecurityInfo

Returns a collection of GPMPermission objects for the SOM.

SetSecurityInfo

Sets the list of permissions for the SOM.

 

Properties

The IGPMSOM interface has these properties.

PropertyAccess typeDescription

GPOInheritanceBlocked

Read-only

Value that specifies whether GPO inheritance is blocked for the SOM.

Name

Read-only

Name of the SOM.

If IGPMSOM points to an OU, as in "Ou=testou,dc=example,dc=Microsoft,dc=com", this property is the last part of the name, that is, testou. If IGPMSOM points to a domain, as in "dc=example,dc=Microsoft,dc=com", this property is "example.microsoft.com". If it points to a site, this property is the website name; for example, "Default-first-site-name".

Path

Read-only

Distinguished name of the SOM; for example, "ou=MyOU,dc=coname,dc=com".

Type

Read-only

Type of the SOM. The following types are defined:

  • somSite
  • somDomain
  • somOU

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMSOM is defined as C0A7F09E-05A1-4F0C-8158-9E5C33684F6B

See also

IDispatch
IGPM
IGPMPermission

 

 

Show: