Issue:
How can we assign an "IT Services" role to 7000 users in the Catalog?
Release : 17.3
Component : SDM - Catalog
It can be achieved via invoking the "assignBusinessUnitRoles" webservice method.
Pre-requisites:
1. Create few users and business units.
Ex:
Usernames: 01test05, 01test06
Business Unit Names: ca, IT Services
Steps
1. Assign “ca” business unit to each user which are listed in the pre-requisite
Ex:
2. Similarly add others users
3. Invoke “assignBusinessUnitRoles” webservice method from soapUI
Ex: Sample snippet of code for invoking above webservice method.
Login WebService:
Invoke “assignBusinessUnitRoles” WebService
After running this Webservice method, a new business unit will be added to this 01test05 user. Below is the screenshot.
Note: all user IDs here are for demo purposes only. So is the Business Unit.