---
title: "GET /v1/devices/{devicesId}/deviceUsers/{deviceUsersId}"
method: GET
path: "/v1/devices/{devicesId}/deviceUsers/{deviceUsersId}"
tags: ["devices"]
---

# GET /v1/devices/{devicesId}/deviceUsers/{deviceUsersId}

`GET /v1/devices/{devicesId}/deviceUsers/{deviceUsersId}`

## Request

- Base URL: `https://cloudidentity.googleapis.com`
- URL: `https://cloudidentity.googleapis.com/v1/devices/{devicesId}/deviceUsers/{deviceUsersId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-identity.devices`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-identity.devices`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-identity.devices.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-identity.devices.readonly`

Retrieves the specified DeviceUser

## Path parameters

- `devicesId` string, required
- `deviceUsersId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `customer` string

## Response `200`

Successful response

- GoogleAppsCloudidentityDevicesV1DeviceUser: Represents a user's use of a Device in the Cloud Identity Devices API. A DeviceUser is a resource representing a user's use of a Device
  - `compromisedState` 'COMPROMISED_STATE_UNSPECIFIED' | 'COMPROMISED' | 'NOT_COMPROMISED': Compromised State of the DeviceUser object
  - `createTime` string, google-datetime: When the user first signed in to the device
  - `firstSyncTime` string, google-datetime: Output only. Most recent time when user registered with this service.
  - `languageCode` string: Output only. Default locale used on device, in IETF BCP-47 format.
  - `lastSyncTime` string, google-datetime: Output only. Last time when user synced with policies.
  - `managementState` 'MANAGEMENT_STATE_UNSPECIFIED' | 'WIPING' | 'WIPED' | 'APPROVED' | 'BLOCKED' | 'PENDING_APPROVAL' | 'UNENROLLED': Output only. Management state of the user on the device.
  - `name` string: Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where `device_user` uniquely identifies a user's use of a device.
  - `passwordState` 'PASSWORD_STATE_UNSPECIFIED' | 'PASSWORD_SET' | 'PASSWORD_NOT_SET': Password state of the DeviceUser object
  - `userAgent` string: Output only. User agent on the device for this specific user
  - `userEmail` string: Email address of the user registered on the device.

## Changes

- **2026-11-18** `7be184a4f032`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices.readonly` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices.readonly` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/cloudidentity/changes/v1/devices/:devicesId/deviceUsers/:deviceUsersId/get.md)

---

[API](https://skmtc.dev/google/apis/cloudidentity.md) - [All operations](https://skmtc.dev/google/apis/cloudidentity/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/cloudidentity/revisions/7be184a4f032?raw)
