DevicePolicyManagerScope Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the scope of a policy: the current user, the entire device, or the parent user of the current user.
public enum DevicePolicyManagerScope
type DevicePolicyManagerScope =
- Inheritance
-
DevicePolicyManagerScope
Fields
| Name | Value | Description |
|---|---|---|
| User | 1 | Flag used by setPolicy(PolicyIdentifier, int, T) to apply the policy to the same user as the current user. Android reference for 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. |
| Device | 2 | Flag used by setPolicy(PolicyIdentifier, int, T) to apply the policy to the entire device. Android reference for 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. |
| ParentUser | 3 | Flag used by setPolicy(PolicyIdentifier, int, T) to apply the policy to the parent user of the current user. Android reference for 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
GetPolicy(PolicyIdentifier, DevicePolicyManagerScope) and SetPolicy(PolicyIdentifier, DevicePolicyManagerScope, Object) use these values to select the scope of the policy.