共用方式為


MDM_SecurityStatusUser class

Represents security health metrics on the device that are specific to the user.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("MDMSettingsProv"), AMENDMENT]
class MDM_SecurityStatusUser
{
  uint32  key;
  boolean HasConnectedAccount;
  uint32  ConnectedAccountPolicy;
  uint32  PasswordStatus;
  uint32  EncryptionStatus;
  uint32  DeviceEncryptionPolicy;
};

Members

The MDM_SecurityStatusUser class has these types of members:

Properties

The MDM_SecurityStatusUser class has these properties.

ConnectedAccountPolicy

Data type: uint32

Access type: Read-only

Gets or sets whether to require the policy for the connected account.

The following list shows the possible values.

Don't require (0)

Require (1)

DeviceEncryptionPolicy

Data type: uint32

Access type: Read-only

Gets or sets whether to require the encryption policy for the device.

The following list shows the possible values.

Don't require (0)

Require (1)

EncryptionStatus

Data type: uint32

Access type: Read-only

Gets the status of the device encryption as reported by the result of the EasClientSecurityPolicy.CheckCompliance method.

HasConnectedAccount

Data type: boolean

Access type: Read-only

Gets whether the connected account is present.

key

Data type: uint32

Access type: Read-only

Qualifiers: key

Identifies the instance of the MDM_SecurityStatusUser class.

PasswordStatus

Data type: uint32

Access type: Read-only

Gets the status of the password for the account.

The following list shows the possible values.

Not compliant (0)

No policy (1)

Compliant (2)

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM
MOF
MDMSettingsProv.mof
DLL
MDMSettingsProv.dll

See also

MDM_SecurityStatus