Update guest user support #1874

This commit is contained in:
Ross Scroggs
2026-04-28 16:53:26 -07:00
parent c2192674ff
commit a971ea37ae
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
7.43.00
7.43.01
Updated `gam info user` and `gam print users` to display guest user attributes: `isGuestUser, guestAccountInfo`

View File

@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
"""
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
__version__ = '7.43.00'
__version__ = '7.43.01'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
# pylint: disable=wrong-import-position
@@ -47327,7 +47327,7 @@ def infoUsers(entityList):
throwReasons=GAPI.USER_GET_THROW_REASONS+[GAPI.INVALID_INPUT, GAPI.RESOURCE_NOT_FOUND],
userKey=userEmail, projection=schemaParms['projection'], customFieldMask=schemaParms['customFieldMask'],
viewType=viewType, fields=fields)
if getIsGuestUser and 'isGetUser' not in user:
if getIsGuestUser and 'isGuestUser' not in user:
user['isGuestUser'] = False
if userMultiAttributeFilters:
_filterUserMultiAttributes(user, userMultiAttributeFilters)