demo · v140

Attribute Readout

Five managed-device attributes you can request — serial number, asset ID, hostname, location, and directory user. The readout shows the values an enterprise-managed device would surface, and which ones a deny-policy still blocks.

Managed devices only navigator.managed resolves only on a device enrolled in an admin policy (ChromeOS / managed-Chrome). On unmanaged devices the API throws.
DeviceSerialNumberawaiting…
DeviceAnnotatedAssetIdawaiting…
DeviceAnnotatedLocationawaiting…
DeviceHostnameawaiting…
DirectoryDeviceIdawaiting…
const out = await navigator.managed.getDeviceAttributes();
// {
//   "DeviceSerialNumber": "5CG1234XYZ",
//   "DeviceAnnotatedAssetId": "asset-072",
//   "DeviceAnnotatedLocation": "Floor 4 / Studio 12",
//   "DeviceHostname": "kiosk-072",
//   "DirectoryDeviceId": "0a8c4f5b-..."
// }

see also