Question
Using Python , How to add user to existing groups?
Hello Community,
Refering to [1.0.0 / User Management & Permissions] on help.celonis.de
I have " 5 new users" (created via python) , now i want to add it to existing group using python.
user = User.create_new(Dummy1, fname, lname, email@abc.com, password123)
user = User.create_new(Dummy2, fname, lname, email@abc.com, password123)
user = User.create_new(Dummy3, fname, lname, email@abc.com, password123)
user = User.create_new(Dummy4, fname, lname, email@abc.com, password123)
user = User.create_new(Dummy4, fname, lname, email@abc.com, password123)
I already have existing 2 user groups , i.e Viewers , Analysts
Now I want to Assign user Dummy 1 and Dummy 2 to Group Analysts and I want to Assign user Dummy 3, Dummy 4 and Dummy 5 to Group Viewers :- like below
Groups User
Analyst Dummy 1
Analyst Dummy 2
Viewers Dummy 3
Viewers Dummy 4
Viewers Dummy 5
Now If I try to assign the user to the Group using group.add_user(user)
However , how to I assign my existing Group Name to the group variable ?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.