Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Implementation Guide for Oracle Billing Insight > Customizing User Management > Customizing User EnrollmentYou can customize the User Enrollment use case using XMA and APIs. You can configure the IUserService JavaBean in the userService.xma.xml file, located in the following directory: Using the User Enrollment APIWhen customizing user enrollment, you can call the enrollB2BUser or enrollB2CUser APIs to enroll business or consumer users, for example: IUserService usrService=EBillingServiceFactory.getUserService(); Create a JavaBean called com.edocs.common.api.services.IUserEnrollProfile: IUserEnrollProfile enrollProf = new UserEnrollProfile(); Use the following code to set the properties. This example is from com.edocs.application.common.usermanagement.actions.B2BEnrollAction: enrollProf.setRole(role); The following code is used for enrolling a single business user: usrService.enrollB2BUser(newUser, enrollProf, audit); Using the Bulk Enrollment APITo use the bulk enrollment API, pass the input stream CSV file for bulk enrollment, the filename, import time, administrator user, and audit as shown in the following code. The method enrolls the users in the file and returns the success number: IUserService usrService = EBillingServiceFactory.getUserService(); |
![]() |
![]() ![]() |
Implementation Guide for Oracle Billing Insight | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |