"key":"value*"
where key can be "email", "givenName"
or"familyName"
. The asterisk is required, for example: "givenName:Ann*"
is a valid query.Should suspended status work ?
IE: gam print users allfields query "suspended:false" > users.csv
gam print users allfields query "isSuspended=true" > users.csv
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/1bfc3e84-5f8b-4af0-822a-c8914479446a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Dec 7, 2018, at 4:43 AM, Shruthi Kaushik <saishr...@gmail.com> wrote:
How to get the status of specific user whether suspended or not?
On Thursday, June 9, 2016 at 1:49:30 AM UTC+5:30, Karin Swanson wrote:I was able to query on suspended status using:gam print users allfields query "isSuspended=true" > users.csv
On Tuesday, August 27, 2013 at 3:14:51 PM UTC-5, Lance Pearce wrote:Should suspended status work ?
IE: gam print users allfields query "suspended:false" > users.csv
On Monday, August 26, 2013 11:17:41 AM UTC-4, Jay Lee wrote:From the API docs at:Query string for prefix matching searches. Should be of the form"key":"value*"
where key can be"email", "givenName"
or"familyName"
. The asterisk is required, for example:"givenName:Ann*"
is a valid query.Hope this helps. I have encouraged Google to expand the possible query parameters. "OU:Whatever" is a very needed addition.Jay--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
—
Eric Dannewitz
Technology Assistant
Acalanes Union High School District
District Office Technology Department
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" 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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/106cbb42-c680-4c98-89a9-35c2f90aabba%40googlegroups.com.
gam print users queries "email=test...@domain.com","email=test...@domain.com" fields primaryemail,name
Ross
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/7422ea0f-ded1-4842-831b-b19de6447abfn%40googlegroups.com.