Google Apps Group Add Users
Version 1
This handler uses the Google Provisioning API library to add new members to a previously created Google Group on your domain. A string of usernames are taken from the input (external accounts need the domain included in their username; iternal accounts do not) and then checked to see if they are valid usernames (can only check internal accounts). If there are no invalid usernames, the handler then adds these accounts to the group. Any errors that occur during the posting process will be caught and re-raised by this handler.
- Provisioning API must be enabled. To do so, you must: 1. Log in to your admin account and select either the "Domain Settings" or "Users and groups" tab, depending on what control panel version you have. 2. Select the Settings tab. 3. Select the checkbox to enable the Provisioning API. 4. Save your changes.
Parameters
Name |
Description |
Group ID |
The id of the group that the specified users should be added to. The group id of the 'test.group@acme.com' group is 'test.group'. |
Users |
A comma separated list of user ids or email addresses that correspond to users that should be added to the specified group. The user id of 'john.doe@acme.com' is 'john.doe'. |
Sample Configuration
Name |
Description |
Group ID |
'test.group' |
Users |
'jane.user@acme.com,joe.user@acme.com' |
Results
This handler does not return any results.
Changelog
GoogleAppsGroupAddUsers_V1 (2012-06-20)
- Initial version. See README for details.
Related Handlers
- Google Apps SA Calendar Create
- This handler creates a new event in Google Calendar using a service account.
- Google Apps SA Calendar Event Create
- This handler creates a new Google Calendar event using a service account.
- Google Apps SA Calendar Share
- This handler shares a Google Calendar using a service account.
- Google Apps SA Calendar Unshare
- This handler unshares a Google Calendar using a service account.
- Google Apps SA Group Add Owners
- This handler sets a list of existing users to be managers of the specified group using a service account.
- Google Apps SA Group Create
- This handler creates a new Google Apps group using a service account.
- Google Apps SA Group Delete
- This handler deletes an existing Google Apps group using a service account.
- Google Apps SA Group Remove Users
- This handler removes a list of users from the specified group using a service account.
- Google Apps SA Sheets Create
- This handler creates a new Spreadsheet in Google Sheets.
- Google Apps SA Sheets Delete
- This handler deletes a Spreadsheet in Google Sheets.
- Google Apps SA Sheets Rename
- This handler renames a Spreadsheet in Google Sheets.
- Google Apps SA Sheets Row Append
- This handler adds a row to the bottom of a Spreadsheet in Google Sheets.
- Google Apps SA Sheets Row Clear
- This handler clears a row on a given Spreadsheet in Google Sheets.
- Google Apps SA User Create
- This handler creates a new user using a service account.
- Google Apps SA User Delete
- This handler deletes a user from the domain database using a service account.
- Google Apps SA User Restore
- This handler restores a user in the domain database using a service account.
- Google Apps SA User Suspend
- This handler suspends a user from the domain database using a service account.