Home
last modified time | relevance | path

Searched refs:userIdToRemove (Results 1 – 1 of 1) sorted by relevance

/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_ability.cpp109 int userIdToRemove = data.GetCode(); in OnCommonEventUserRemoved() local
110 if (userIdToRemove == 0) { in OnCommonEventUserRemoved()
117 adminMgr_->GetAdminByUserId(userIdToRemove, userAdmin); in OnCommonEventUserRemoved()
118 policyMgr_ = GetAndSwitchPolicyManagerByUserId(userIdToRemove); in OnCommonEventUserRemoved()
120 if (FAILED(RemoveAdmin(item->adminInfo_.packageName_, userIdToRemove))) { in OnCommonEventUserRemoved()
129 FAILED(RemoveAdmin(subAdmin->adminInfo_.packageName_, userIdToRemove))) { in OnCommonEventUserRemoved()