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: iOS 16+ | iPadOS 16+ | watchOS 10+

ActiveManagedUsersstring

The key to get an array of directory GUIDs for logged-in managed users. Requires the Device Information access right.

Available: macOS 10.11+

AppAnalyticsEnabledstring

The key to determine whether the device is sharing app analytics. Requires the Device Information access right.

Available: iOS 9.3+ | iPadOS 9.3+ | visionOS 1.1+ | watchOS 10+

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: macOS 10.11+

AvailableDeviceCapacitystring

The key to get the available capacity. Requires the Device Information access right.

Available: iOS 4+ | iPadOS 4+ | macOS 10.7+ | visionOS 1.1+ | watchOS 10+

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.

Available: iOS 9+ | iPadOS 9+ | macOS 10.11+ | tvOS 10.2+ | visionOS 2+ | watchOS 10+

BatteryLevelstring

The key to get the battery level. Requires the Device Information access right.

Available: iOS 5+ | iPadOS 5+ | macOS 13.3+ | visionOS 1.1+ | watchOS 10+

BluetoothMACstring

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

Available: iOS 4+ | iPadOS 4+ | macOS 10.7+ | tvOS 9+ | visionOS 1.1+

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: iOS 4.2.6+ | iPadOS 4.2.6+

DataRoamingEnabledstring

The key to determine whether the system enabled data roaming on the device. Requires the Network Information access right.

Available: iOS 5+ | iPadOS 5+

DeviceCapacitystring

The key to get the device’s total capacity. Requires the Device Information access right.

Available: iOS 4+ | iPadOS 4+ | macOS 10.7+ | visionOS 1.1+ | watchOS 10+

DeviceIDstring

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

Available: tvOS 9+

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. The hardware requirements for attestation are described below.

Available: iOS 16+ | iPadOS 16+ | macOS 14+ | tvOS 16+ | visionOS 1.1+ | watchOS 10+

DiagnosticSubmissionEnabledstring

The key to determine whether the system enabled the diagnostic submission setting on the device. Requires the Device Information access right.

Available: iOS 9.3+ | iPadOS 9.3+ | visionOS 1.1+ | watchOS 10+

EACSPreflightstring

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

Available: macOS 13.3+

EASDeviceIdentifierstring

The key to get the device identifier for Exchange ActiveSync (EAS). Requires the Device Information access right.

Available: iOS 7+ | iPadOS 7+ | visionOS 1.1+

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: iOS 14+ | iPadOS 14+

EthernetMACstring

The key to get the primary Ethernet MAC address. Requires the Network Information access right.

Available: macOS 10.7+

HasBatterystring

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

Available: macOS 13.3+

HostNamestring

The key to get the hostname.

Available: macOS 10.11+

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.

Available: iOS 7+ | iPadOS 7+ | macOS 10.15+ | watchOS 10+ Deprecated: iOS 16+ | iPadOS 16+ | macOS 13+ | watchOS 10+

IsActivationLockSupportedstring

The key to determine whether the device supports Activation Lock. Also see IsActivationLockManageable in SecurityInfoResponse.SecurityInfo.ManagementStatus.

Available: macOS 10.15+

IsAppleSiliconstring

The key to determine whether the device is a Mac with Apple silicon (for example, an Apple M1 chip).

Available: macOS 12+

IsCloudBackupEnabledstring

The key to determine whether the system enabled iCloud Backup on the device. Requires the Device Information access right.

Available: iOS 7.1+ | iPadOS 7.1+ | visionOS 1.1+

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: iOS 7+ | iPadOS 7+ | visionOS 1.1+ | watchOS 10+

IsDoNotDisturbInEffectstring

The key to determine whether the device is in Do Not Disturb (DND) mode. Requires the Device Information access right.

Available: iOS 7+ | iPadOS 7+ | visionOS 1.1+ | watchOS 10+

IsMDMLostModeEnabledstring

The key to determine whether the system enabled Managed Lost Mode on the device. Requires the Device Information access right.

Available: iOS 9.3+ | iPadOS 9.3+ | watchOS 10+

IsMultiUserstring

The key to determine whether the device is a Shared iPad. Requires the Device Information access right.

Available: iOS 9.3+ | iPadOS 9.3+

IsNetworkTetheredstring

The key to determine whether the device is network-tethered. Requires the Network Information access right.

Available: iOS 10.3+ | iPadOS 10.3+

IsSupervisedstring

The key to determine whether the device is supervised. Requires the Device Information access right.

Available: iOS 6+ | iPadOS 6+ | macOS 10.15+ | tvOS 9+ | visionOS 1.1+ | watchOS 10+

iTunesStoreAccountHashstring

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

Available: iOS 8+ | iPadOS 8+ | macOS 10.10+ | tvOS 9+ | watchOS 10+

iTunesStoreAccountIsActivestring

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

Available: iOS 7+ | iPadOS 7+ | macOS 10.9+ | tvOS 9+ | watchOS 10+

LastCloudBackupDatestring

The key to get the date of the most-recent iCloud backup.

Available: iOS 8+ | iPadOS 8+ | visionOS 1.1+

LocalHostNamestring

The key to get the local hostname from Bonjour.

Available: macOS 10.11+

ManagedAppleIDDefaultDomainsstring

The key to get the list of domains that the device suggests on the Shared iPad login screen.

Available: iOS 16+ | iPadOS 16+

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: iOS 9.3+ | iPadOS 9.3+

MDMOptionsstring

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

Available: iOS 7+ | iPadOS 7+ | macOS 11+ | tvOS 9+ | visionOS 1.1+ | watchOS 10+

Modelstring

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

Available: iOS 4+ | iPadOS 4+ | macOS 10.7+ | tvOS 9+ | watchOS 10+

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.

Available: iOS 16.4+ | iPadOS 16.4+ | macOS 13.3+ | tvOS 16.4+ | visionOS 1.1+ | watchOS 10+

ModemFirmwareVersionstring

The key to get the modem firmware version. Requires the Device Information access right.

Available: iOS 4+ | iPadOS 4+

OnlineAuthenticationGracePeriodstring

The key to get the grace period for Shared iPad online authentication (in days).

Available: iOS 16+ | iPadOS 16+

OrganizationInfostring

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

Available: iOS 7+ | iPadOS 7+ | macOS 10.11+ | tvOS 9+ | visionOS 1.1+ | watchOS 10+

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: iOS 7+ | iPadOS 7+

PINRequiredForDeviceLockstring

The key to determine whether the DeviceLockCommand requires a PIN.

Available: macOS 11+

PINRequiredForEraseDevicestring

The key to determine whether the EraseDeviceCommand requires a PIN.

Available: macOS 11+

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: macOS 11.3+

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: iOS 9.3+ | iPadOS 9.3+ | macOS 10.12+

QuotaSizestring

The key to get the quota size for each user on this Shared iPad device. Requires the Device Information access right.

Available: iOS 13.4+ | iPadOS 13.4+

ResidentUsersstring

The key to get the number of users currently on this Shared iPad device. Requires the Device Information access right.

Available: iOS 13.4+ | iPadOS 13.4+

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.

Available: iOS 12+ | iPadOS 12+

SkipLanguageAndLocaleSetupForNewUsersstring

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

Available: iOS 16.2+ | iPadOS 16.2+

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.

Available: iOS 16.1+ | iPadOS 16.1+ | macOS 13+ | tvOS 16.1+ | visionOS 1.1+ | watchOS 10+

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.

Available: iOS 16.1+ | iPadOS 16.1+ | macOS 13+ | tvOS 16.1+ | visionOS 1.1+ | watchOS 10+

SupportsiOSAppInstallsstring

The key to determine whether the macOS device supports iOS or iPadOS app installs.

Available: macOS 11+

SupportsLOMDevicestring

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

Available: macOS 11+

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.

Available: macOS 10.12+

TemporarySessionOnlystring

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

Available: iOS 14.5+ | iPadOS 14.5+

TemporarySessionTimeoutstring

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

Available: iOS 14.5+ | iPadOS 14.5+

TimeZonestring

The key to get the current Internet Assigned Numbers Authority (IANA) time zone database name. Requires the Device Information access right.

Available: iOS 14+ | iPadOS 14+ | macOS 26+ | tvOS 14+ | visionOS 2+ | watchOS 10+

UDIDstring

The key to get the unique identifier of the device.

UserSessionTimeoutstring

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

Available: iOS 14.5+ | iPadOS 14.5+

WiFiMACstring

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