DeviceInformationCommand.Command.Queries
An array of query dictionaries to get information about a device.
Declaration
object DeviceInformationCommand.Command.QueriesProperties
| Name | Type | Description |
|---|---|---|
AccessibilitySettings | string | The key to get the current state of settable accessibility settings. Available in iOS 16 and later. |
ActiveManagedUsers | string | The key to get an array of directory GUIDs for logged-in managed users. Requires the Device Information access right. Available in macOS 10.11 and later. |
AppAnalyticsEnabled | string | The key to determine whether the device is sharing app analytics. Requires the Device Information access right. Available in iOS 4 and later, and macOS 10.7 and later. |
AutoSetupAdminAccounts | string | The key to get the contents of DeviceInformationResponse.QueryResponses.AutoSetupAdminAccountsItem, which Setup Assistant automatically creates during enrollment. Requires the Device Information access right. Available in macOS 10.11 and later. |
AvailableDeviceCapacity | string | The key to get the available capacity. Requires the Device Information access right. Available in iOS 4 and later, and macOS 10.7 and later. |
AwaitingConfiguration | string | The key to determine whether the device is waiting for a Device Configured command or User Configured command to continue through Setup Assistant on the device channel or user channel, respectively. |
BatteryLevel | string | The key to get the battery level. Requires the Device Information access right. Available in iOS 5 and later. |
BluetoothMAC | string | The key to get the Bluetooth media access control (MAC) address. Requires the Network Information access right. |
BuildVersion | string | The key to get the operating system version. Requires the Device Information access right. |
CellularTechnology | string | The key to get the cellular technology type. Requires the Device Information access right. Available in iOS 4.2.6 and later. |
DataRoamingEnabled | string | The key to determine whether the system enabled data roaming on the device. Requires the Network Information access right. Available in iOS 5 and later. |
DeviceCapacity | string | The key to get the device’s total capacity. Requires the Device Information access right. Available in iOS 4 and later, and macOS 10.7 and later. |
DeviceID | string | The key to get the device ID. Requires the Device Information access right. Available in tvOS 6 and later. |
DeviceName | string | The key to get the device name. Requires the Device Information access right. |
DevicePropertiesAttestation | string | The key to get an attestation of the device’s properties. Available in iOS 16 and later, macOS 14 and later, tvOS 16 and later, and watchOS 10 and later. The hardware requirements for attestation are described below. |
DiagnosticSubmissionEnabled | string | The key to determine whether the system enabled the diagnostic submission setting on the device. Requires the Device Information access right. Available in iOS 9.3 and later. |
EACSPreflight | string | The key to determine whether the device can perform an EraseDeviceCommand using Erase All Content and Settings (EACS). |
EASDeviceIdentifier | string | The key to get the device identifier for Exchange ActiveSync (EAS). Requires the Device Information access right. Available in iOS 7 and later. |
EstimatedResidentUsers | string | The key to get the estimated number of users that can use this Shared iPad device, according to the available space of the device and each user’s quota. Requires the Device Information access right. Available in iOS 14 and later. |
EthernetMAC | string | The key to get the primary Ethernet MAC address. Requires the Network Information access right. Available in macOS 10.7 and later. |
HasBattery | string | The key to determine whether the device has an internal battery. |
HostName | string | The key to get the hostname. Available in macOS 10.11 and later. |
IsActivationLockEnabled | string | The key to determine whether the system enabled Activation Lock on the device. Requires the Device Information access right. Available as of iOS 7 and macOS 10.15, and deprecated in iOS 16 and macOS 13. |
IsActivationLockSupported | string | The key to determine whether the device supports Activation Lock. Also see |
IsAppleSilicon | string | The key to determine whether the device is a Mac with Apple silicon (for example, an Apple M1 chip). Available in macOS 12 and later. |
IsCloudBackupEnabled | string | The key to determine whether the system enabled iCloud Backup on the device. Requires the Device Information access right. Available in iOS 7.1 and later. |
IsDeviceLocatorServiceEnabled | string | The key to determine whether the system enabled a device locator service such as Find My on the device. Requires the Device Information access right. Available in iOS 7 and later. |
IsDoNotDisturbInEffect | string | The key to determine whether the device is in Do Not Disturb (DND) mode. Requires the Device Information access right. Available in iOS 7 and later. |
IsMDMLostModeEnabled | string | The key to determine whether the system enabled Managed Lost Mode on the device. Requires the Device Information access right. Available in iOS 9.3 and later. |
IsMultiUser | string | The key to determine whether the device is a Shared iPad. Requires the Device Information access right. Available in iOS 9.3 and later. |
IsNetworkTethered | string | The key to determine whether the device is network-tethered. Requires the Network Information access right. Available in iOS 10.3 and later. |
IsSupervised | string | The key to determine whether the device is supervised. Requires the Device Information access right. Available in iOS 6 and later, macOS 10.15 and later, and tvOS 9 and later. |
iTunesStoreAccountHash | string | The key to get a hash of the logged-in iTunes Store account. Also see GetVppUserRequest. Requires the App Installation access right. |
iTunesStoreAccountIsActive | string | The key to determine whether the iTunes Store account is active. Requires the App Installation access right. |
LastCloudBackupDate | string | The key to get the date of the most-recent iCloud backup. Available in iOS 8 and later. |
LocalHostName | string | The key to get the local hostname from Bonjour. Available in macOS 10.11 and later. |
ManagedAppleIDDefaultDomains | string | The key to get the list of domains that the device suggests on the Shared iPad login screen. Available in iOS 16 and later. |
MaximumResidentUsers | string | The key to get the maximum number of users that can use this Shared iPad device. In iOS 13.4 and later, this value is always |
MDMOptions | string | The key to get the contents of SettingsCommand.Command.Settings.MDMOptions.MDMOptions. |
Model | string | The key to get the model. Requires the Device Information access right. |
ModelName | string | The key to get the model name, such as iPhone. Requires the Device Information access right. |
ModelNumber | string | The key to get the device’s hardware model number, including region info, such as |
ModemFirmwareVersion | string | The key to get the modem firmware version. Requires the Device Information access right. Available in iOS 4 and later. |
OnlineAuthenticationGracePeriod | string | The key to get the grace period for Shared iPad online authentication (in days). Available in iOS 16 and later. |
OrganizationInfo | string | The key to get the contents of SettingsCommand.Command.Settings.OrganizationInfo.OrganizationInfo. |
OSUpdateSettings | string | The key to get the contents of DeviceInformationResponse.QueryResponses.OSUpdateSettings. Requires the Device Information access right. Available in macOS 10.11 and later. |
OSVersion | string | The key to get the operating system version. Requires the Device Information access right. |
PersonalHotspotEnabled | string | The key to determine whether the system enabled Personal Hotspot on the device, which isn’t available for all carriers. Requires the Network Information access right. Available in iOS 7 and later. |
PINRequiredForDeviceLock | string | The key to determine whether the DeviceLockCommand requires a PIN. Available in macOS 11 and later. |
PINRequiredForEraseDevice | string | The key to determine whether the EraseDeviceCommand requires a PIN. Available in macOS 11 and later. |
ProductName | string | The key to get the product name, such as iPad8,12. Requires the Device Information access right. |
ProvisioningUDID | string | The key to get the device identifier for provisioning profiles. This value differs from the UDID for a Mac with Apple silicon. Available in macOS 11.3 and later. |
PushToken | string | The key to get the push token for the current user-channel connection. The MDM server ignores this query for the device channel. Requires the Device Information access right. Available in iOS 9.3 and later, and macOS 10.12 and later. |
QuotaSize | string | The key to get the quota size for each user on this Shared iPad device. Requires the Device Information access right. Available in iOS 13.4 and later. |
ResidentUsers | string | The key to get the number of users currently on this Shared iPad device. Requires the Device Information access right. Available in iOS 13.4 and later. |
SerialNumber | string | The key to get the serial number. Requires the Device Information access right. |
ServiceSubscriptions | string | The key to get the contents of DeviceInformationResponse.QueryResponses.ServiceSubscriptionProperty. Requires the Network Information access right. |
SkipLanguageAndLocaleSetupForNewUsers | string | The key to determine whether the system skips the language and country/region panes for new users on Shared iPad. |
SoftwareUpdateDeviceID | string | The key to get the device identifier to look up available OS updates through https://gdmf.apple.com/v2/pmv. Available in iOS 15 and later, and macOS 12 and later. |
SoftwareUpdateSettings | string | The key to get the device settings that control which updates appear in the Software Update pane in Settings. Available in iOS 14.5 and later. |
SupplementalBuildVersion | string | The key to get the build version for the currently installed Background Security Improvement. If there’s no installed Background Security Improvement, this value is the same as |
SupplementalOSVersionExtra | string | The key to get the OS update Background Security Improvement version letter, if a Background Security Improvement update is installed. Requires the Device Information access right. |
SupportsiOSAppInstalls | string | The key to determine whether the macOS device supports iOS or iPadOS app installs. Available in macOS 11 and later. |
SupportsLOMDevice | string | The key to determine whether the device can receive |
SystemIntegrityProtectionEnabled | string | The key to determine whether the system enabled System Integrity Protection on the device. Requires the Device Information access right, and is available in macOS 10.12 and later. |
TemporarySessionOnly | string | The key to determine whether the device allows only temporary sessions. |
TemporarySessionTimeout | string | The key to get the timeout interval for the temporary session. |
TimeZone | string | The key to get the current Internet Assigned Numbers Authority (IANA) time zone database name. Requires the Device Information access right. Available in macOS 26 and later, iOS 14 and later, tvOS 14 and later, and visionOS 2 and later. |
UDID | string | The key to get the unique identifier of the device. |
UserSessionTimeout | string | The key to get the timeout interval for the user session. |
WiFiMAC | string | The key to get the Wi-Fi MAC address. Requires the Network Information access right. |