共用方式為


MDM_RestrictionsUser class

Represents the configuration of restriction settings on the device for standard users.

Windows 8.1: This class is supported beginning with Windows 8.1 Update.

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_RestrictionsUser
{
  Uint32  Key;
  boolean PCSettingsSyncEnabled;
  boolean PCSettingsMeteredNetworkSyncEnabled;
  boolean PCSettingsPasswordSyncEnabled;
};

Members

The MDM_RestrictionsUser class has these types of members:

Properties

The MDM_RestrictionsUser class has these properties.

Key

Data type: Uint32

Access type: Read-only

Qualifiers: key

Identifies the MDM_RestrictionsUser class instance.

PCSettingsMeteredNetworkSyncEnabled

Data type: boolean

Access type: Read-only

True if the Sync settings over metered connection option under Change Settings is on.

PCSettingsPasswordSyncEnabled

Data type: boolean

Access type: Read-only

True if the Passwords option under Change Settings is on.

PCSettingsSyncEnabled

Data type: boolean

Access type: Read-only

True if the Sync your settings option under Change Settings is on.

Requirements

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

See also

Mobile Device Management Settings Classes