cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CP: Is there a way to assign multiple users to a group/role in bulk?

ssimsekler
Active Contributor
0 Kudos
1,526

Hello

On SAP Cloud Platform (Neo), going to Security --> Authorizations, it is possible to assign individual users to a group. Similarly, through an application's roles config, it is possible to assign individual users/groups to roles.

As we have a high number of users to be assigned, is there a standard way to do these assignments in bulk in Neo? And, how about in CF environment?

Kind Regards

View Entire Topic
0 Kudos

Hi Sedar,

I am answering regarding the Neo environment. For the Cloud Foundry environment, other colleagues will have to step in.

So, it depends on what your understanding of "in bulk" is.

If you want to assign multiple users to a role based on a rule, such as "all employees (users with email xxy@<company>.com) get a particular role", you can do as described in Step 4: (If Using an Identity Provider) Define the Group-to-Role Mapping of Managing Roles documentation. You need to define at identity provider level a common rule that automatically assigns all users of a certain type to a specified group. Then, using the Security -> Authorizations UI, you can assign the group to the role(s) you need. This should result in automatic user role assignments in bulk.

If you do not want to use a rule but simply enumerate a long list of user IDs, then you can use the Authorization API. Use the following method to assign a list of users to a required role. For more information about using the API, see official documentation.

Is one of these options what you need to do?

Best regards,

Dobrinka