Document member restrictions; fix print users (#1430)

* Document member restrictions

* Fix gam print users allfields custom all to include primaryEmail

If you really want everything say: gam print users full
This commit is contained in:
Ross Scroggs
2021-10-06 11:22:27 -07:00
committed by GitHub
parent 32ccf414ea
commit 4db3bc409b
2 changed files with 9 additions and 2 deletions

View File

@@ -9680,6 +9680,8 @@ def doPrintUsers():
sortHeaders = True
i += 1
elif myarg in ['custom', 'schemas']:
if not fieldsList:
fieldsList = ['primaryEmail']
fieldsList.append('customSchemas')
if sys.argv[i + 1].lower() == 'all':
projection = 'full'