Permissions for google sites

136 views
Skip to first unread message

Ashish Jain

unread,
Apr 21, 2023, 11:59:42 AM4/21/23
to GAM for Google Workspace
I understand that now google sites are stored in google drive with type as "
application/vnd.google-apps.site
". I have been trying to document permissions with 

1. Get sites where the user is a owner
gam user a...@domain.com print filelist query "mimeType = 'application/vnd.google-apps.site'" id name mimetype

2. Get permissions for that site with 
gam user a...@domain.com print drivefileacls 1f_Uq........XaS_7h oneitemperrow

Is there a way to document all sites across the workspace and their permissions?

Ross Scroggs

unread,
Apr 21, 2023, 12:08:51 PM4/21/23
to google-ap...@googlegroups.com
Ashish,

Advanced GAM solution:
Serial processing

gam redirect csv ./SiteACLs.csv all users print filelist showmimetype gsite fields id,name,mimetype,basicpermissions oneitemperrow


Parallel processing, faster

gam config auto_batch_min 1 redirect csv ./SiteACLs.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print filelist showmimetype gsite fields id,name,mimetype,basicpermissions oneitemperrow


Ross


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/36c5923f-94f2-44ae-8dd6-130a7e4c8668n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages