Jump to content

Managing Google Groups membership based on Organisation/suborganisation


Recommended Posts

Posted

Does anyone know if this is possible or if a solution exists to do this?

 

We have the staff join groups themselves from instructions in their welcome pack etc when they arrive but - it always ends up being a few months later "I'm not getting emails i should be"

 

it would be nice to automate it

Posted
I automated the creation of groups from MIS data (Tutor, Teaching, Department, Year etc). The code is fairly generic, so it would be possible to drive this from AD and switch the group creation to drive GAM rather than AD.
  • Thanks 1
Posted (edited)
You can sync AD groups into GAFE using GADS...

 

 

we use multiple AD's, GADS was never implemented because of this, I'm also referring to using the Organisation structure in GAFE not AD

Edited by DGardiner
Posted
we use multiple AD's, GADS was never implemented because of this, I'm also referring to using the Organisation structure in GAFE not AD

It should (I think) be possible as long as you map into unique containers in the google side, if you don't then it will suspend and delete users from the other AD when it doesn't find them.

Posted

I think you may need to use GAM.

When we bulk add new staff I run a script to assign calendars, you may be able to update it for groups.

Ideally you would read the list of users in the group, rather than CSV.

 

#!/usr/bin/python
import os

# read a (csv) file which is a list of staff email addresses

# Open a file
with open("newstaff.csv", "r") as fo:
print "Opened: ", fo.name
data = [map(str, line.split()) for line in fo]
for i in data:
	email = i[0]
	email = email.lower()
	os.system("./gam.py user " + email + " add calendar [email protected]  selected true colorindex 1")
	os.system("./gam.py user " + email + " add calendar  [email protected]  selected true colorindex 2")
	os.system("./gam.py user " + email + " add calendar [email protected]  selected true colorindex 3")
               os.system("./gam.py user " + email + " add calendar [email protected]  selected true colorindex 4")
               os.system("./gam.py user " + email + " add calendar [email protected]  selected true colorindex 5")
	os.system("./gam.py user " + email + " add calendar [email protected] selected true colorindex 6")
	os.system("./gam.py user " + email + " add calendar [email protected]  selected true colorindex 7")
               os.system("./gam.py user " + email + " add calendar [email protected]  selected true colorindex 8")
fo.close()

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...