RSOP_PolicySetting class
Applies to: desktop apps only
The RSOP_PolicySetting WMI class is the class from which client-side extensions' policy objects are inherited. An instance of this class corresponds to a specific policy setting. This class was added for Windows XP.
Note Classes that derive from the RSOP_PolicySetting class must redefine both the id and the precedence properties to be keys. These classes include the RSOP_ApplicationManagementPolicySetting, RSOP_FolderRedirectionPolicySetting, RSOP_RegistryPolicySetting, RSOP_IEAKPolicySetting, RSOP_SecuritySettings and RSOP_ScriptPolicySetting classes.
The following syntax is simplified from MOF code.
Syntax
class RSOP_PolicySetting
{
datetime creationTime;
string GPOID;
string id;
string name;
uint32 precedence;
string SOMID;
};
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.
- 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.
- 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 XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Namespace |
\\.\root\RSOP |
|
MOF |
|
See also
- Group Policy Overview
- Group Policy RSoP WMI Classes
- RSOP_ApplicationManagementPolicySetting
- RSOP_FolderRedirectionPolicySetting
- RSOP_RegistryPolicySetting
- RSOP_ScriptPolicySetting
- RSOP_IEAKPolicySetting
- RSOP_SecuritySettings
- RSoP_PolicySettingStatus
Send comments about this topic to Microsoft
Build date: 2/3/2012