Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
jainisha
Partner - Contributor II
Partner - Contributor II

How can I assign groups to user using REST API?

Hi,

I have created 3 groups using GROUP rest api and now I want to assign those groups to the new user I am creating via create user API.

I passed assignedgroup property in user object at the time of creating user, but it is not assigning group to the user. Its just creating user with com.qlik.Everyone group by default.

Kindly guide.

Labels (2)
1 Solution

Accepted Solutions
jainisha
Partner - Contributor II
Partner - Contributor II
Author

I found out the way.

Groups are associated with Roles. Therefore, at the time of creating group you can select/assign roles for which you would like to have access.

Once group is created, all users associated with that group's role get access of group and you can add group to shared/ managed space instead of adding each and every user.

View solution in original post

1 Reply
jainisha
Partner - Contributor II
Partner - Contributor II
Author

I found out the way.

Groups are associated with Roles. Therefore, at the time of creating group you can select/assign roles for which you would like to have access.

Once group is created, all users associated with that group's role get access of group and you can add group to shared/ managed space instead of adding each and every user.