RSOP_GPO class
Applies to: desktop apps only
The RSOP_GPO WMI class includes information about a GPO. Instances of this class are divided into three categories: instances that represent applied GPOs, instances that represent GPOs that have read-access but not applyGroupPolicy access, and instances that represent disabled GPOs. This class was added for Windows XP.
The following syntax is simplified from MOF code.
Syntax
class RSOP_GPO
{
boolean accessDenied;
boolean enabled;
boolean filterAllowed;
string filterId;
string fileSystemPath;
string guidName;
string id;
string name;
uint8 securityDescriptor[];
uint32 version;
};
Members
The RSOP_GPO class has these types of members:
Properties
The RSOP_GPO class has these properties.
- accessDenied
-
- Data type: boolean
- Access type: Read-only
Flag that indicates that a RSOP_GPLink was found that references this GPO; additionally, the GPO in turn was also found, but it is inaccessible for security reasons.
- enabled
-
- Data type: boolean
- Access type: Read-only
Flag that indicates whether the GPO is enabled.
- fileSystemPath
-
- Data type: string
- Access type: Read-only
Path to the file system; that is, the system volume folder (SysVol), part of the GPO.
- filterAllowed
-
- Data type: boolean
- Access type: Read-only
Flag that indicates whether the GPO passed a filter check. Note that WMI filtering requires Windows Server 2008 or Windows Server 2003.
- filterId
-
- Data type: string
- Access type: Read-only
Filter ID of the WMI Query Language (WQL) filter on the GPO. Note that WMI filtering requires Windows Server 2008 or Windows Server 2003.
- guidName
-
- Data type: string
- Access type: Read-only
GPO name as a GUID. The system uses this value as a key.
- id
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key
Group policy container path retrieved from the Active Directory.
- name
-
- Data type: string
- Access type: Read-only
User-friendly name of the GPO. This is the name that displays on the Precedence property page in the RSoP snap-in. The name may not be unique.
- securityDescriptor
-
- Data type: uint8 array
- Access type: Read-only
Array of bytes containing the security descriptor associated with the GPO. The security descriptor is in self-relative format. For more information, see Absolute and Self-Relative Security Descriptors.
- version
-
- Data type: uint32
- Access type: Read-only
Version number of the GPO. The value is a combination of the Group Policy Container (GPC) and the Group Policy Template (GPT) version numbers. For more information about GPCs and GPTs, see Group Policy Storage.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Namespace |
\\.\root\RSOP |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012