bearyg / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Directory's API - list users by OrgUnit #797

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Retrieve users by OrgUnit using the Directory API

https://developers.google.com/admin-sdk/directory/v1/reference/users/list

com.google.api.services.admin.directory.Directory.Users.List.setQuery(String)

--
Java 6.
Using the class com.google.api.services.admin.directory.Directory.Users.List
contained in the artifact 
"com.google.apis:google-api-services-admin:directory_v1-rev4-1.15.0-rc"
seems possible to list users by "email", "firstName" or "lastName" but not by  
"OrgUnit".

--
Adding support to list users by "OrgUnit"  would ease a lot of work.

Original issue reported on code.google.com by jav...@isr.co.jp on 11 Jun 2013 at 9:05