Resource: DeviceUser
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
| JSON representation | 
|---|
| { "name": string, "userEmail": string, "managementState": enum ( | 
| Fields | |
|---|---|
| name | 
 Output only. Resource name of the DeviceUser in format:  | 
| userEmail | 
 Email address of the user registered on the device. | 
| managementState | 
 Output only. Management state of the user on the device. | 
| firstSyncTime | 
 Output only. Most recent time when user registered with this service. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| lastSyncTime | 
 Output only. Last time when user synced with policies. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| userAgent | 
 Output only. User agent on the device for this specific user | 
| languageCode | 
 Output only. Default locale used on device, in IETF BCP-47 format. | 
| compromisedState | 
 Compromised State of the DeviceUser object | 
| passwordState | 
 Password state of the DeviceUser object | 
| createTime | 
 When the user first signed in to the device Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
ManagementState
Possible management states of a user on a device.
| Enums | |
|---|---|
| MANAGEMENT_STATE_UNSPECIFIED | Default value. This value is unused. | 
| WIPING | This user's data and profile is being removed from the device. | 
| WIPED | This user's data and profile is removed from the device. | 
| APPROVED | User is approved to access data on the device. | 
| BLOCKED | User is blocked from accessing data on the device. | 
| PENDING_APPROVAL | User is awaiting approval. | 
| UNENROLLED | User is unenrolled from Advanced Windows Management, but the Windows account is still intact. | 
CompromisedState
Describes whether the DeviceUser object is compromised or not.
| Enums | |
|---|---|
| COMPROMISED_STATE_UNSPECIFIED | Compromised state of Device User account is unknown or unspecified. | 
| COMPROMISED | Device User Account is compromised. | 
| NOT_COMPROMISED | Device User Account is not compromised. | 
PasswordState
The password state of the object
| Enums | |
|---|---|
| PASSWORD_STATE_UNSPECIFIED | Password state not set. | 
| PASSWORD_SET | Password set in object. | 
| PASSWORD_NOT_SET | Password not set in object. | 
| Methods | |
|---|---|
| 
 | Approves device to access user data. | 
| 
 | Blocks device from accessing user data | 
| 
 | Cancels an unfinished user account wipe. | 
| 
 | Deletes the specified DeviceUser. | 
| 
 | Retrieves the specified DeviceUser | 
| 
 | Lists/Searches DeviceUsers. | 
| 
 | Looks up resource names of the DeviceUsers associated with the caller's credentials, as well as the properties provided in the request. | 
| 
 | Wipes the user's account on a device. |