Language

UserManagementFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum UserManagementFlags
[<System.Flags>]
type UserManagementFlags = 
Inheritance
UserManagementFlags
Attributes

Fields

Name Value Description
None 0
SkipSetupWizard 1

Flag used by createAndManageUser(ComponentName, String, ComponentName, PersistableBundle, int) to skip setup wizard after creating a new user.

Android reference for android.app.admin.DevicePolicyManager.SKIP_SETUP_WIZARD.

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.

MakeUserEphemeral 2

Flag used by createAndManageUser(ComponentName, String, ComponentName, PersistableBundle, int) to specify that the user should be created ephemeral. Ephemeral users will be removed after switching to another user or rebooting the device.

Android reference for android.app.admin.DevicePolicyManager.MAKE_USER_EPHEMERAL.

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.

LeaveAllSystemAppsEnabled 16

Flag used by createAndManageUser(ComponentName, String, ComponentName, PersistableBundle, int) to specify that the newly created user should skip the disabling of system apps during provisioning.

Android reference for android.app.admin.DevicePolicyManager.LEAVE_ALL_SYSTEM_APPS_ENABLED.

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.

Remarks

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