RSOP_PolicySetting class

An abstract class which is the base for client-side-extension policy classes. An instance of a derived class corresponds to a specific policy setting.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[abstract]class RSOP_PolicySetting
{
  string   id;
  uint32   precedence;
  string   name = "";
  string   GPOID = "";
  string   SOMID = "";
  datetime creationTime;
};

Members

The RSOP_PolicySetting class has these types of members:

Properties

The RSOP_PolicySetting class has these properties.

creationTime
Data type: datetime
Access type: Read-only

Time the policy object was created.

GPOID
Data type: string
Access type: Read-only

Identifies the GPO that contains the policy object. You can obtain this value from PGROUP_POLICY_OBJECT->lpDSPath. You must remove the prefix LDAP://CN=Machine from lpDSPath.

id
Data type: string
Access type: Read-only
Qualifiers: Required, Not_Null

Unique identifier for objects of this class.

Important  Derived classes must redefine this property as a key.

name
Data type: string
Access type: Read-only

User-friendly name of the policy object.

precedence
Data type: uint32
Access type: Read-only
Qualifiers: Required, Not_Null

The order or precedence in which the policy setting should be applied. The "winning" setting (the one that is actually applied) is represented by the instance whose precedence is equal to 1. If this property is greater than 1, it indicates that the policy was not a "winning" policy, and that the policy was not applied due to a conflict with another policy.

Important  Derived classes must redefine this property as a key.

SOMID
Data type: string
Access type: Read-only

The scope of management (SOM) associated with the GPO that contains this policy object. You can obtain this value from PGROUP_POLICY_OBJECT->lpLink. You must remove the prefix LDAP:// from lpLink.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\\.\root\RSOP\Computer, \\.\root\RSOP\User

MOF

Rsop.mof

DLL

GPSvc.dll

See also

Group Policy Overview
Group Policy RSoP WMI Classes
RSOP_ApplicationManagementPolicySetting
RSOP_FolderRedirectionPolicySetting
RSOP_RegistryPolicySetting
RSOP_ScriptPolicySetting
RSOP_IEAKPolicySetting
RSoP_PolicySettingStatus

 

 

Show:
© 2015 Microsoft