Getting Google Classroom ID's that are owned by certain e-mails

240 views
Skip to first unread message

Gabriel McGhee

unread,
Jul 5, 2023, 11:22:41 AM7/5/23
to GAM for Google Workspace
I used gam to pull a list of 50 users active classrooms. My issue is is some of these classrooms are not owned by the user. Is there a easy way to ge a list of classroom id's that are owned by the users so i can archive them?

Ross Scroggs

unread,
Jul 5, 2023, 11:31:19 AM7/5/23
to google-ap...@googlegroups.com
Gabriel,


Users.csv
email
...

gam redirect csv CourseInfo.csv multiprocess csv Users.csv gam print courses teacher "~email" fields id,name,owneremail

Ross

On Wed, Jul 5, 2023 at 8:22 AM Gabriel McGhee <GKMc...@edgefieldcountyschools.org> wrote:
I used gam to pull a list of 50 users active classrooms. My issue is is some of these classrooms are not owned by the user. Is there a easy way to ge a list of classroom id's that are owned by the users so i can archive them?

--
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/826d8be5-5462-4b61-91e4-15fcb217fcfen%40googlegroups.com.


--

Gabriel McGhee

unread,
Jul 5, 2023, 11:56:47 AM7/5/23
to GAM for Google Workspace
Thank you! By getting owner e-mails I was able to delete the course id's that was not owned by the users.
Reply all
Reply to author
Forward
0 new messages