共用方式為


DevicePolicyManager.ExtraProvisioningAccountToMigrate Field

Definition

An android.accounts.Account extra holding the account to migrate during managed profile provisioning.

[Android.Runtime.Register("EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE", ApiSince=22)]
public const string ExtraProvisioningAccountToMigrate;
[<Android.Runtime.Register("EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE", ApiSince=22)>]
val mutable ExtraProvisioningAccountToMigrate : string

Field Value

Attributes

Remarks

An android.accounts.Account extra holding the account to migrate during managed profile provisioning. If the account supplied is present in the primary user, it will be copied, along with its credentials to the managed profile and removed from the primary user.

Use with #ACTION_PROVISION_MANAGED_PROFILE, with managed account provisioning, or return as an extra to the intent result from the #ACTION_GET_PROVISIONING_MODE activity.

Java documentation for android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to