Hi Jake, You can use the Provisioning API to assign users to Organization Units and use the control panel to enable/disable the various services to those OUs:
https://developers.google.com/google-apps/provisioning/#managing_organization_units Claudio On Wed, Apr 25, 2012 at 6:42 AM, Jake <[email protected]> wrote: > Hey All, > > I have a couple questions regarding the Domain Info and Management API. > A little background information. I work for a small company and one of our > product areas happens to be hosting Moodle <http://moodle.org/about/>sites > for schools. > A few of our customers have an older, "Moodle Plugin" installed that > allows them to synchronize their Moodle users with Google Apps. > I am working with some Google Apps > Integration<http://code.google.com/p/moodle-google/>code, that was originally > written by a company called Moodle > Rooms <http://www.moodlerooms.com/home>. This plugin does a number > things. > > The specific features for the Google Apps plugin are: > > - Moodle users are automatically created in Google Apps (Google Docs, > Calendar, and Gmail). > - When you log in to Moodle, you are automatically logged in to Google > Apps. > - A Gmail block in Moodle displays your latest Gmail messages when you > login to the Moodle Front Page. > - A Google Apps block on the Moodle Front Page displays links to your > Google Start Page, Google Docs, Google Calendar and Gmail. > - A Google Widget that shows a link to Moodle on the Google side. > > The plugin does all that it was intended to do. However, a specific school > that we host would like the functionality to add Moodle Users to a group in > Google apps. Users will be organized into groups in order to control > permissions. A likely scenario might be; students in a school, that are > Moodle users, have access to all of the Google Apps functionality (Gmail, > Documents, Calender...etc). A district wants to restrict what functionality > students in a grade-range have. For example, grades K-5 should be able to > use the Google Documents, but *not* Gmail or Google Calender. > > My questions are: > > - Can I add a group attribute to a user when they are > synchronized/added to Google? > - If I can pragmatically add a user to group, then can I also restrict > what features that user has access to? > - If either or both of these ideas are possible/plausible with > Google's API how might I go about do so? > - Has anyone else attempted something of this nature before? > > I am aware that this functionality is already present for an > administrative to control on the front end with Google's dashboard for > groups. I am unsure if I can do these things in their entirety. Any advice > or link to documentation would be greatly appreciated. > > I have been reading on the documentation > here<https://developers.google.com/google-apps/provisioning/#methods_for_group_members>, > but I thought I would look for a little more insight. > > Thanks, > > -> Jake > > -- > You received this message because you are subscribed to the Google Groups > "Google Apps Domain Information and Management APIs" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-apps-mgmt-apis/-/6TZkYX5pawMJ. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-apps-mgmt-apis?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
