RSOP_SecuritySettingBoolean class

The RSOP_SecuritySettingBoolean WMI class represents the boolean security setting for an account policy. Account policies include password policies and account lockout policies. 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_SecuritySettingBoolean : RSOP_SecuritySettings
{
  string  KeyName;
  uint32  precedence;
  boolean Setting;
};

Members

The RSOP_SecuritySettingBoolean class has these types of members:

  • Properties

Properties

The RSOP_SecuritySettingBoolean 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 one of the following values:

  • ClearTextPassword
  • PasswordComplexity
  • RequireLogonToChangePassword
  • ForceLogoffWhenHourExpire
  • LSAAnonymousNameLookup
  • EnableAdminAccount
  • EnableGuestAccount
  • TicketValidateClient

For more information about the preceding values, see the Microsoft Windows 2000 Server Resource Kit Group Policy Reference.

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.

Remarks

The RSOP_SecuritySettingBoolean 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_SecuritySettingNumeric

RSOP_SecuritySettingString

RSOP_PolicySetting