How add user to group existent with Python
See original GitHub issueHello,
How I can add user to an specific group?
I tryed this:
content = { 'groupKey': 'mygroup@example.com', "email": "new.user@example.com" }
add_group = service.members().insert(content=content).execute()
But i receive this error:
env/lib/python3.8/site-packages/googleapiclient/discovery.py", line 872, in method raise TypeError('Got an unexpected keyword argument "%s"' % name)
My new.user is added normaly, just add that user to a group that is not working.
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
AWS IAM Python script - Add new User to existing Group
My issue is that I wish to add the new User to one of the existing, shown Groups. I have tried the code...
Read more >Add users to group through python code - Odoo
Hai to all, I will create a group '*Commission*' through *xml*. then there is any way to add users to this group through...
Read more >StartingYourUsersGroup - Python Wiki
Creating a new Python user group (You should have checked LocalUserGroups to ensure that there is not an existing group already).
Read more >How to Add User to Linux Group - phoenixNAP
Add an Existing User to an Existing Group · 1. Use the adduser command to add a user to a group: sudo adduser...
Read more >Add people to your group - Google Groups Help
Child accounts—You can't add a user with a child Google Account to a ... or alternate address of an existing member, that user...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@busunkim96
Thank you very much!
I did configure again, used this configuration:
It’s working now
@busunkim96
I’m check and I use admin.directory.user: