Hey Gang!
I'm needing to see the subfolder permission structure in effort to lock down some shared drives.
In short, I've found it's not straight forward. I'm needing to run several commands to generate several reports, then boil it all down.
So far, here's my process:
1) Generate a list of everything in the target subfolder, this will reveal Doc IDs for the target subfolder contents.
gam user EMAIL ADDRESS print filelist select
teamdrive "SHARED DRIVE NAME" teamdrivefilename "FOLDERNAME" fields id,name,modifiedtime todrive
2) Use the list of Doc IDs to individually search for the shared Permission IDs
gam user EMAIL ADDRESS show fileinfo DOCUMENT ID
3)
Convert
Permission IDs to primary email
I don't have a GAM command for this step yet - just curious if there is a better way, the reports are quickly getting HUGE, and I'm foreseeing I'll need to create a whole script/macro to complete these steps and collate the report.
Is there an easier way to see the permission structure of shared drives? I could just open the share window for each folder and manually write down the structure, but I'm dealing with hundreds of folders. Any ideas out there my fellow GAM wizards?
This email and any files transmitted with it are for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email and any files transmitted with it without the sender's prior written permission. The information contained in this communication is confidential and proprietary information of Beyond Finance, LLC. and its Affiliates.