@ -26,6 +26,7 @@ var constants = require("/modules/constants.js");
var dcProps = require('/config/dc-props.js').config();
var userModule = require("/modules/user.js").userModule;
var deviceModule = require("/modules/device.js").deviceModule;
var utility = require("/modules/utility.js").utility;
var deviceManagementService = utility.getDeviceManagementService();
var result;
@ -32,7 +32,7 @@ utility = function () {
};
publicMethods.getUserManagementService = function () {
return getOsgiService('org.wso2.carbon.device.mgt.user.core.UserManager');
return getOsgiService('org.wso2.carbon.user.api.UserRealmService');
publicMethods.getPolicyManagementService = function () {