Restrict Users ability to remove themselves from a Google Group

We create google groups in our organization that represent reporting structures. These groups have many uses such as allow a user to quickly send a message to an entire team. As users move in and out of reporting structures we maintain these groups programmatically. The issue we have is that users have the ability to remove themselves from these groups. Is there a way to create google groups that do not allow users to remove themselves?

Solved Solved
3 7 16.1K
1 ACCEPTED SOLUTION

WOW Nice!

Thanks for the info. I tried and worked like a charm.

View solution in original post

7 REPLIES 7

I believe what you're looking for is the "whoCanLeaveGroup" property. This is something available via the Group Settings API (https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups#resource).

Practically speaking, I set it to the "none_can_leave" value (see above page for other options) for most of our institution-official groups, which sounds like what you're describing.  The way I do this is using GAM (or GAMADV-XTD3). Example command with a couple other properties thrown in as well for an existing group:
gam update group accounts-payable@domain.com include_in_global_address_list TRUE whoCanDiscoverGroup ALL_IN_DOMAIN_CAN_DISCOVER who_can_leave_group NONE_CAN_LEAVE

(Don't worry about the underscores and capitalization, just easier to read long lines of attributes that way.) You can set these properties at group creation time, or after.

Members of the group visiting the group page via groups.google.com will see that the "Leave Group" button at the top is grayed out when this is set.

This sounds promising. We will implement this and let you know how it works out.

Thanks

WOW Nice!

Thanks for the info. I tried and worked like a charm.

If you have BetterCloud it can also modify this setting in app.bettercloud.com

Along the same lines. Anyone know if its possible to restrict a user from being able to modify the subscription type? We have primary communication groups and we don't want users to be able to elect to not receive the emails. We also would prefer if they can not abridge or digest the emails. 

 

Is this still possible only with API/GAM?

I cannot find a setting on admin.google.com nor gorups.google.com to do it.

Correct. API/GAM only. 

Top Labels in this Space
Top Solution Authors