Forum Discussion
Device actions
Hi All
I am working on Device actions/Commands and I wold like to know which commands are applicable to BYOD and COD
Commands:
Lock.
Reset Password
Reboot
Wipe
Clear App Data
Enable Lost Mode
Disable Lost Mode
Remove Work Profile
Regards,
Farkhaleeth
- 6 months ago
This is all in the text above and highlighted by me....
LOCK, RESET_PASSWORD, CLEAR_APP_DATA (A9+) -> for all as nothing else mentioned in the help
REBOOT (A7+), START_LOST_MODE, STOP_LOST_MODE -> fully managed only
RELINQUISH_OWNERSHIP -> COPE only
- MoombasLevel 4.1: Jelly Bean6 months ago
- FarkhaleethLevel 2.0: Eclair6 months ago
but how will I know which command is applicable for profile owner and which is applicable for device owner ?
- MoombasLevel 4.1: Jelly Bean6 months ago
I can just point to this:
Enums
COMMAND_TYPE_UNSPECIFIED This value is disallowed. LOCK Lock the device, as if the lock screen timeout had expired. RESET_PASSWORD Reset the user's password. REBOOT Reboot the device. Only supported on fully managed devices running Android 7.0 (API level 24) or higher. RELINQUISH_OWNERSHIP Removes the work profile and all policies from a company-owned Android 8.0+ device, relinquishing the device for personal use. Apps and data associated with the personal profile(s) are preserved. The device will be deleted from the server after it acknowledges the command. CLEAR_APP_DATA Clears the application data of specified apps. This is supported on Android 9 and above. Note that an application can store data outside of its application data, for example in external storage or in a user dictionary. See also clearAppsDataParams. START_LOST_MODE Puts the device into lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also startLostModeParams. STOP_LOST_MODE Takes the device out of lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also stopLostModeParams.
- FarkhaleethLevel 2.0: Eclair6 months ago
Thanks Moombas This helps
- MoombasLevel 4.1: Jelly Bean6 months ago
As said before, this was all shown in the help if you read through it and it was also highlighted by me before as well. just read it carefully.
Related Content
- 2 years ago