Hello Vincent. You are able to retrieve all organizational users based on this request.
https://developers.google.com/google-apps/provisioning/#retrieving_organization_users_experimental Retrieving All Organization Users To retrieve all organization users, call the following method. ProtocolJavaPython.NET To retrieve all organization users, send a GET request to the orguser feed's URI. For the customerId, see Retrieving a customerId<https://developers.google.com/google-apps/provisioning/#retrieving_a_customerid>. Include the Authorization header as described in Authenticating Requests<https://developers.google.com/google-apps/provisioning/auth.html> : GET https://apps-apis.google.com/a/feeds/orguser/2.0/*the customerId*?get=all A successful response returns an HTTP 200 status code found in the Google Data API <a href="// code.google.com/apis/gdata/docs/2.0/reference.html#HTTPStatusCodes" HTTP status codes documentation. Along with the status code, the response returns an AtomPub entry with the entry elements: <?xml version='1.0' encoding='UTF-8'?> <feed xmlns:atom='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'> <entry> <apps:property name="orgUserEmail" value="[email protected]" /> <apps:property name="orgUnitPath" value="new_york/hr" /> </entry> <entry> ... </entry> ... </feed> Hope it helps. *Alexandre Jacquet* Deployment & Operations *Nubis Partners* *Nice 2 Cloud U* On Wed, Jul 18, 2012 at 1:21 PM, Vincent82 <[email protected]>wrote: > I need assistance generating an API that would allow me to retrieve the > user information from a particular sub-organization within the domain. I > currently have three sub-organizations (Students / Faculty / Staff). I can > a bulk export to CSV but all the users in the domain will export. I need to > be able to export only the members from a particular sub-organization. Can > anyone assist on this. I appreciate your assistance. > > -- > 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/-/7rL3GsGLj-YJ. > 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.
