Print users based on OU

100 views
Skip to first unread message

Bevin

unread,
Jul 18, 2014, 4:36:15 PM7/18/14
to google-ap...@googlegroups.com
Hi Everyone,

I am trying to print users based on OU.

I have tried using the query function in the gam print users allfields query 'ou:staff' 

And it keeps failing. 

Please help and thanks in advance

Jay Lee

unread,
Jul 18, 2014, 4:39:24 PM7/18/14
to google-ap...@googlegroups.com
The correct format of the query would be:

"orgUnitPath=staff"

see the syntax and examples at:

--
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/ee179d92-4a37-4a52-b680-72c13f928d7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bevin

unread,
Jul 22, 2014, 2:38:00 PM7/22/14
to google-ap...@googlegroups.com
That worked!

Thank you so much for your help!



On Friday, 18 July 2014 16:39:24 UTC-4, Jay Lee wrote:
The correct format of the query would be:

"orgUnitPath=staff"

see the syntax and examples at:

On Fri, Jul 18, 2014 at 4:36 PM, Bevin <bevin.mo...@gmail.com> wrote:
Hi Everyone,

I am trying to print users based on OU.

I have tried using the query function in the gam print users allfields query 'ou:staff' 

And it keeps failing. 

Please help and thanks in advance

--
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.
Reply all
Reply to author
Forward
0 new messages