共用方式為


MDM_Client class

Identifies and describes a user-device pair. It also provides methods unenrolling the device from management and for resetting the user's password.

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_Client
{
  string DeviceClientID;
  string DomainSID;
  string PlatformID;
  string DeviceName;
  string ProcessorDescription;
  string UserSid;
  string Version;
};

Members

The MDM_Client class has these types of members:

Methods

The MDM_Client class has these methods.

Method Description
LockWorkstation Locks the device.
Windows 10: This method is currently not supported in Windows 10.
Windows 8: This method is supported beginning with Windows 8.1.
ResetUserPassword Resets the user's password.
Windows 8: This method is supported beginning with Windows 8.1 Update.
SendUnenrollRequest Unenrolls the device.

Properties

The MDM_Client class has these properties.

DeviceClientID

Data type: string

Access type: Read-only

Qualifiers: key

Identifies the MDM_Client class instance. This is a device ID.

DeviceName

Data type: string

Access type: Read-only

The fully qualified domain name (FQDN) of the device.

DomainSID

Data type: string

Access type: Read-only

The local workstation security identifier (SID).

PlatformID

Data type: string

Access type: Read-only

The textual name of the local operating system.

ProcessorDescription

Data type: string

Access type: Read-only

The textual description of the main processor on the device.

UserSid

Data type: string

Access type: Read-only

The security identifier (SID) of the local user account that is associated with the device.

Version

Data type: string

Access type: Read-only

The local operating system version in the following format: major.minor.revision

Requirements

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

See also

Mobile Device Management Settings Classes