allowPersonalUsage property

String? allowPersonalUsage
getter/setter pair

Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device.

Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. Possible string values are:

  • "ALLOW_PERSONAL_USAGE_UNSPECIFIED" : Personal usage restriction is not specified
  • "PERSONAL_USAGE_ALLOWED" : Personal usage is allowed
  • "PERSONAL_USAGE_DISALLOWED" : Personal usage is disallowed
  • "PERSONAL_USAGE_DISALLOWED_USERLESS" : Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected. Important: This setting is mandatory for dedicated device enrollment and it is a breaking change. This change needs to be implemented before January 2025.For additional details see the dedicated device provisioning guide (https://developers.google.com/android/management/provision-device#company-owned_devices_for_work_use_only).

Implementation

core.String? allowPersonalUsage;