--
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/c8df78d1-d065-4bcf-baf7-b92e30cf2893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'orgUnitPath=/' returns all users in the organization.To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp-r%2BtXiKxoAk0hBjBFMk5Mc%2Bdy%2BCc1Qzjs3LWvZsi14AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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 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/c8df78d1-d065-4bcf-baf7-b92e30cf2893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
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/CA%2BVVBp-r%2BtXiKxoAk0hBjBFMk5Mc%2Bdy%2BCc1Qzjs3LWvZsi14AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Ross Scroggs
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/54134daf-a701-4d35-ba0e-0654db12d356%40googlegroups.com.
Rick,
I was just looking at this documentation for something I’m working on as this thread started.
The docs say that there is very limited support for wildcards.
Going from Ross’ sample gam command I should be able to do this:
gam print users query "orgUnitPath='/Org1' familyName:Smit*" name ou >containsmit.csv
What you want is more complicated than this. You really want this: (if I read your question right)
gam print users query "orgUnitPath='/Org1' familyName:*[S/s]mit*" name ou >containsmit.csv
You want wildcards at both ends and you need a case insensitive search. GamADV/Google may or may not be doing the case insensitive search for you and there is no documentation that says that wildcards work anywhere but the end of the string.
So this may not even be possible due to API limitations. If so, you’ll likely have to fall back to requesting all users from the orgunit and parsing the list with other tools.
Rance
--
F: 308-233-9066
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/c8df78d1-d065-4bcf-baf7-b92e30cf2893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CA%2BVVBp-r%2BtXiKxoAk0hBjBFMk5Mc%2Bdy%2BCc1Qzjs3LWvZsi14AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Ross Scroggs
--
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/54134daf-a701-4d35-ba0e-0654db12d356%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/6F5154B0-FACC-454C-9FD7-5AF13B8D4512%40gmail.com.
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/c8df78d1-d065-4bcf-baf7-b92e30cf2893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CA%2BVVBp-r%2BtXiKxoAk0hBjBFMk5Mc%2Bdy%2BCc1Qzjs3LWvZsi14AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Ross Scroggs
--
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/54134daf-a701-4d35-ba0e-0654db12d356%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/6F5154B0-FACC-454C-9FD7-5AF13B8D4512%40gmail.com.
For more options, visit https://groups.google.com/d/optout.