Enterprise Device Management Overview (for System Applications Only)
Overview
Enterprise Device Management APIs provide support for enterprise APIs. You can use these APIs to implement system-level management and configuration of employee devices. For example, the IT personnel can install enterprise applications, set security policies, set enterprise email addresses, access enterprise networks, and remotely restore factory settings (to clear lost or stolen device data) for employee devices.
Developing Enterprise Management Applications
Basic Concepts
- Device administrator application: a system application that has the EnterpriseAdminExtensionAbility.
Constraints
- Only the stage model is supported.
Environment Setup
- DevEco Studio: Download DevEco Studio from its official website and perform related configuration.
- ohos-sdk-full: Obtain ohos-sdk-full. For details, see Replacing Full SDK.
How to Develop
-
Use DevEco Studio to create a project and replace the full SDK.
-
In the HarmonyAppProvision file, set the app-feature field to hos_system_app, which indicates an system_basic or system_core application.
-
Create EnterpriseAdminExtensionAbility.
-
Declare the permissions required. Before requesting permissions, ensure that the basic principles for using permissions are met. Then, declare the required permission in the ACL.
API References
NOTE
- For details about the APIs, see:
- @ohos.enterprise.accountManager (Account Management) (System API)
- @ohos.enterprise.adminManager (Enterprise Device Management) (System API)
- @ohos.enterprise.applicationManager (Application Management) (System API)
- @ohos.enterprise.browser (Browser Management) (System API)
- @ohos.enterprise.bundleManager (Bundle Management) (System API)
- @ohos.enterprise.dateTimeManager (System Time Management) (System API)
- @ohos.enterprise.deviceControl (Device Control) (System API)
- @ohos.enterprise.deviceInfo (Device Information Management) (System API)
- @ohos.enterprise.deviceSettings (Device Settings) (System API)
- @ohos.enterprise.EnterpriseAdminExtensionAbility (Enterprise Device Management ExtensionAbility) (System API)
- @ohos.enterprise.networkManager (Network Management) (System API)
- @ohos.enterprise.restrictions (Restrictions) (System API)
- @ohos.enterprise.usbManager (USB Management) (System API)
- @ohos.enterprise.wifiManager (Wi-Fi Management) (System API)