Contents

DeviceInformationCommand.Command.Queries

An array of query dictionaries to get information about a device.

Declaration

object DeviceInformationCommand.Command.Queries

Properties

NameTypeDescription
AccessibilitySettingsstring

The key to get the current state of settable accessibility settings. Available in iOS 16 and later.

ActiveManagedUsersstring

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.

AppAnalyticsEnabledstring

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.

AutoSetupAdminAccountsstring

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.

AvailableDeviceCapacitystring

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.

AwaitingConfigurationstring

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.

BatteryLevelstring

The key to get the battery level. Requires the Device Information access right. Available in iOS 5 and later.

BluetoothMACstring

The key to get the Bluetooth media access control (MAC) address. Requires the Network Information access right.

BuildVersionstring

The key to get the operating system version. Requires the Device Information access right.

CellularTechnologystring

The key to get the cellular technology type. Requires the Device Information access right. Available in iOS 4.2.6 and later.

DataRoamingEnabledstring

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.

DeviceCapacitystring

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.

DeviceIDstring

The key to get the device ID. Requires the Device Information access right. Available in tvOS 6 and later.

DeviceNamestring

The key to get the device name. Requires the Device Information access right.

DevicePropertiesAttestationstring

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.

DiagnosticSubmissionEnabledstring

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.

EACSPreflightstring

The key to determine whether the device can perform an EraseDeviceCommand using Erase All Content and Settings (EACS).

EASDeviceIdentifierstring

The key to get the device identifier for Exchange ActiveSync (EAS). Requires the Device Information access right. Available in iOS 7 and later.

EstimatedResidentUsersstring

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.

EthernetMACstring

The key to get the primary Ethernet MAC address. Requires the Network Information access right. Available in macOS 10.7 and later.

HasBatterystring

The key to determine whether the device has an internal battery.

HostNamestring

The key to get the hostname. Available in macOS 10.11 and later.

IsActivationLockEnabledstring

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.

IsActivationLockSupportedstring

The key to determine whether the device supports Activation Lock. Also see IsActivationLockManageable in SecurityInfoResponse.SecurityInfo.ManagementStatus. Available in macOS 10.9 and later.

IsAppleSiliconstring

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.

IsCloudBackupEnabledstring

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.

IsDeviceLocatorServiceEnabledstring

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.

IsDoNotDisturbInEffectstring

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.

IsMDMLostModeEnabledstring

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.

IsMultiUserstring

The key to determine whether the device is a Shared iPad. Requires the Device Information access right. Available in iOS 9.3 and later.

IsNetworkTetheredstring

The key to determine whether the device is network-tethered. Requires the Network Information access right. Available in iOS 10.3 and later.

IsSupervisedstring

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.

iTunesStoreAccountHashstring

The key to get a hash of the logged-in iTunes Store account. Also see GetVppUserRequest. Requires the App Installation access right.

iTunesStoreAccountIsActivestring

The key to determine whether the iTunes Store account is active. Requires the App Installation access right.

LastCloudBackupDatestring

The key to get the date of the most-recent iCloud backup. Available in iOS 8 and later.

LocalHostNamestring

The key to get the local hostname from Bonjour. Available in macOS 10.11 and later.

ManagedAppleIDDefaultDomainsstring

The key to get the list of domains that the device suggests on the Shared iPad login screen. Available in iOS 16 and later.

MaximumResidentUsersstring

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 32. Requires the Device Information access right. Available in iOS 9.3 and later.

MDMOptionsstring

The key to get the contents of SettingsCommand.Command.Settings.MDMOptions.MDMOptions.

Modelstring

The key to get the model. Requires the Device Information access right.

ModelNamestring

The key to get the model name, such as iPhone. Requires the Device Information access right.

ModelNumberstring

The key to get the device’s hardware model number, including region info, such as MK1A3LL/A. Requires the Device Information access right. Requires a Mac with Apple silicon for macOS.

ModemFirmwareVersionstring

The key to get the modem firmware version. Requires the Device Information access right. Available in iOS 4 and later.

OnlineAuthenticationGracePeriodstring

The key to get the grace period for Shared iPad online authentication (in days). Available in iOS 16 and later.

OrganizationInfostring

The key to get the contents of SettingsCommand.Command.Settings.OrganizationInfo.OrganizationInfo.

OSUpdateSettingsstring

The key to get the contents of DeviceInformationResponse.QueryResponses.OSUpdateSettings. Requires the Device Information access right. Available in macOS 10.11 and later.

OSVersionstring

The key to get the operating system version. Requires the Device Information access right.

PersonalHotspotEnabledstring

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.

PINRequiredForDeviceLockstring

The key to determine whether the DeviceLockCommand requires a PIN. Available in macOS 11 and later.

PINRequiredForEraseDevicestring

The key to determine whether the EraseDeviceCommand requires a PIN. Available in macOS 11 and later.

ProductNamestring

The key to get the product name, such as iPad8,12. Requires the Device Information access right.

ProvisioningUDIDstring

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.

PushTokenstring

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.

QuotaSizestring

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.

ResidentUsersstring

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.

SerialNumberstring

The key to get the serial number. Requires the Device Information access right.

ServiceSubscriptionsstring

The key to get the contents of DeviceInformationResponse.QueryResponses.ServiceSubscriptionProperty. Requires the Network Information access right.

SkipLanguageAndLocaleSetupForNewUsersstring

The key to determine whether the system skips the language and country/region panes for new users on Shared iPad.

SoftwareUpdateDeviceIDstring

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.

SoftwareUpdateSettingsstring

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.

SupplementalBuildVersionstring

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 BuildVersion. Requires the Device Information access right.

SupplementalOSVersionExtrastring

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.

SupportsiOSAppInstallsstring

The key to determine whether the macOS device supports iOS or iPadOS app installs. Available in macOS 11 and later.

SupportsLOMDevicestring

The key to determine whether the device can receive PowerON, PowerOFF, and Reset commands from a lights-out management (LOM) controller. Available in macOS 11 and later.

SystemIntegrityProtectionEnabledstring

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.

TemporarySessionOnlystring

The key to determine whether the device allows only temporary sessions.

TemporarySessionTimeoutstring

The key to get the timeout interval for the temporary session.

TimeZonestring

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.

UDIDstring

The key to get the unique identifier of the device.

UserSessionTimeoutstring

The key to get the timeout interval for the user session.

WiFiMACstring

The key to get the Wi-Fi MAC address. Requires the Network Information access right.