RSOP_RegistryKey class

The RSOP_RegistryKey WMI class represents a security policy setting that defines the access permissions and audit settings for a particular registry key. This class was added for WindowsĂ‚ XP.

Note  Classes that derive from the RSOP_PolicySetting class must redefine the precedence property to be a key.

The following syntax is simplified from MOF code.

Syntax

class RSOP_RegistryKey : RSOP_SecuritySettings
{
  uint32 Mode;
  string Path;
  uint32 precedence;
  string SDDLString;
};

Members

The RSOP_RegistryKey class has these types of members:

  • Properties

Properties

The RSOP_RegistryKey class has these properties.

Mode

Data type: uint32

Access type: Read-only

Describes the mode. This property can have one of the following values.

Value Meaning
0

Inherit

1

Ignore

2

Overwrite

 

Path

Data type: string

Access type: Read-only

Qualifiers: Key

Registry path associated with this instance of the security policy setting.

precedence

Data type: uint32

Access type: Read-only

Qualifiers: Key

Inherited from RSOP_PolicySetting.

SDDLString

Data type: string

Access type: Read-only

Security descriptor, in security descriptor string format, for this instance of the security policy setting.

Remarks

The RSOP_RegistryKey class is derived from RSOP_SecuritySettings which is derived from RSOP_PolicySetting.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\\.\root\RSOP

MOF

SceRsop.mof

See also

RSOP_SecuritySettings

RSOP_RegistryValue

RSOP_PolicySetting