Share via


RSOP_SecurityEventLogSettingBoolean class

The RSOP_SecurityEventLogSettingBoolean WMI class represents a security policy setting that determines whether or not guests can access the system, application, and security event logs. 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_SecurityEventLogSettingBoolean : RSOP_SecuritySettings
{
  string  KeyName;
  uint32  precedence;
  boolean Setting;
  string  Type;
};

Members

The RSOP_SecurityEventLogSettingBoolean class has these types of members:

  • Properties

Properties

The RSOP_SecurityEventLogSettingBoolean class has these properties.

KeyName

Data type: string

Access type: Read-only

Qualifiers: Key

Name that identifies this instance of the security policy setting. This property can have the following value:

  • RestrictGuestAccess

precedence

Data type: uint32

Access type: Read-only

Qualifiers: Key

Inherited from RSOP_PolicySetting.

Setting

Data type: boolean

Access type: Read-only

The actual value of this instance of the security policy setting; the setting is a Boolean value.

Type

Data type: string

Access type: Read-only

Qualifiers: Key

Type of event log. This property can have one of the following values.

Value Meaning
0

System log

1

Security log

2

Application log

 

Remarks

The RSOP_SecurityEventLogSettingBoolean 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_SecurityEventLogSettingNumeric

RSOP_PolicySetting