--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4ca0cac5-be05-47a6-864a-e9caeeb5a470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay Lee
There's no way to filter on creation date server-side. I'd recommend doing something like:gam print users gal ou > users.csvand then grepping through the results for users who have sharing enabled in an OU that shouldn't and vice versa, then performing updates as needed.
On Mon, Jul 6, 2015 at 9:00 AM Matt S <synt...@gmail.com> wrote:
Is there any way to query for a list of users created with the past X number of days? I see on the print syntax that there is a "creationdate" field that can be included in the csv. But on the query syntax it doesn't that (or an other relevant field) an available parameter to search on.--
I should note that what I'm really trying to do is "unshare" student contact information and "share" any non-students so that only non-students show up in the auto-completion when sharing documents and such. I'm currently doing that like so:
gam ou "JR HI Users" profile shared
gam ou "SR HI Users" profile shared
gam ou "Admin Users" profile shared
gam ou "JR HI Users/JR HI Students" profile unshared
gam ou "SR HI Users/SR HI Students" profile unshared
... which works, but it basically does a command on every user in the structure which, A) takes forever, B) uses many API calls, and C) will take even longer or possibly break when I add another 5,000 students coming up next month.
So I was hoping there was a way I could query only the recently created users and then run queries on them.
Thanks
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4ca0cac5-be05-47a6-864a-e9caeeb5a470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay Lee