Skip to content

Commit 9e326f9

Browse files
committed
Added option showmembertypes to gam print cigroup|groups
1 parent c486e5a commit 9e326f9

5 files changed

Lines changed: 46 additions & 15 deletions

File tree

wiki/Cloud-Identity-Groups.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ gam print cigroups [todrive <ToDriveAttribute>*]
345345
[roles <GroupRoleList>] [memberrestrictions]
346346
[internal] [internaldomains all|primary|<DomainNameList>] [external]
347347
[members|memberscount] [managers|managerscount] [owners|ownerscount] [totalcount] [countsonly]
348-
[types <CIGroupMemberTypeList>]
348+
[types <CIGroupMemberTypeList>] [showmembertypes]
349349
[memberemaildisplaypattern|memberemailskippattern <REMatchPattern>]
350350
[convertcrnl] [delimiter <Character>]
351351
(addcsvdata <FieldName> <String>)* [includecsvdatainjson [<Boolean>]]
@@ -400,6 +400,15 @@ By default, no members, managers or owners in the group are displayed; these opt
400400
By default, when displaying members from a group, all types of members (customer, group, serviceaccount, user) in the group are displayed; this option modifies that behavior:
401401
* `types <CIGroupMemberTypeList>` - Display specified types
402402

403+
Use option `showmembertypes` to expand Members fields to include type information.
404+
```
405+
Members -> MembersTypeCustomer, MembersTypeGroup, MembersTypeUser
406+
MembersCount -> MembersTypeCustomerCount, MembersTypeGroupCount, MembersTypeUserCount
407+
InternalMembers -> InternalMembersTypeCustomer, InternalMembersTypeGroup, InternalMembersTypeUser
408+
InternalMembersCount -> InternalMembersTypeCustomerCount, InternalMembersTypeGroupCount, InternalMembersTypeUserCount
409+
ExternalMembers -> ExternalMembersTypeGroup, ExternalMembersTypeUser
410+
ExternalMembersCount -> ExternalMembersTypeGroupCount, ExternalMembersTypeUserCount
411+
```
403412
Which domains are considered internal domains:
404413
* `internaldomains all` - All of your workspace domains; this is the default
405414
* `internaldomains primary` - Your workspace primary domain

wiki/GamUpdates.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ Add the `-s` option to the end of the above commands to suppress creating the `g
1010

1111
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
1212

13+
### 7.46.09
14+
15+
Added option `showmembertypes` to `gam print cigroup|groups` that expands Members fields
16+
to include type information.
17+
```
18+
Members -> MembersTypeCustomer, MembersTypeGroup, MembersTypeUser
19+
MembersCount -> MembersTypeCustomerCount, MembersTypeGroupCount, MembersTypeUserCount
20+
InternalMembers -> InternalMembersTypeCustomer, InternalMembersTypeGroup, InternalMembersTypeUser
21+
InternalMembersCount -> InternalMembersTypeCustomerCount, InternalMembersTypeGroupCount, InternalMembersTypeUserCount
22+
ExternalMembers -> ExternalMembersTypeGroup, ExternalMembersTypeUser
23+
ExternalMembersCount -> ExternalMembersTypeGroupCount, ExternalMembersTypeUserCount
24+
1325
### 7.46.08
1426
1527
Added option `(addcsvdata <FieldName> <String>)*` to `gam <UserTypeEntity> print calendars`

wiki/Groups.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ gam print groups [todrive <ToDriveAttribute>*]
521521
[members|memberscount] [managers|managerscount] [owners|ownerscount] [totalcount] [countsonly]
522522
[includederivedmembership]
523523
[notsuspended|suspended] [notarchived|archived]
524-
[types <GroupMemberTypeList>]
524+
[types <GroupMemberTypeList>] [showmembertypes]
525525
[memberemaildisplaypattern|memberemailskippattern <REMatchPattern>]
526526
[convertcrnl] [delimiter <Character>] [sortheaders]
527527
(addcsvdata <FieldName> <String>)* [includecsvdatainjson [<Boolean>]]
@@ -608,6 +608,16 @@ By default, when displaying members from a group, all members, whether suspended
608608
By default, when displaying members from a group, all types of members (customer, group, user) in the group are displayed; this option modifies that behavior:
609609
* `types <GroupMemberTypeList>` - Display specified types
610610

611+
Use option `showmembertypes` to expand Members fields to include type information.
612+
```
613+
Members -> MembersTypeCustomer, MembersTypeGroup, MembersTypeUser
614+
MembersCount -> MembersTypeCustomerCount, MembersTypeGroupCount, MembersTypeUserCount
615+
InternalMembers -> InternalMembersTypeCustomer, InternalMembersTypeGroup, InternalMembersTypeUser
616+
InternalMembersCount -> InternalMembersTypeCustomerCount, InternalMembersTypeGroupCount, InternalMembersTypeUserCount
617+
ExternalMembers -> ExternalMembersTypeGroup, ExternalMembersTypeUser
618+
ExternalMembersCount -> ExternalMembersTypeGroupCount, ExternalMembersTypeUserCount
619+
```
620+
611621
Which domains are considered internal domains:
612622
* `internaldomains all` - All of your workspace domains; this is the default
613623
* `internaldomains primary` - Your workspace primary domain

wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ writes the credentials into the file oauth2.txt.
251251
```
252252
gamteam@server:/Users/gamteam$ rm -f /Users/gamteam/GAMConfig/oauth2.txt
253253
gamteam@server:/Users/gamteam$ gam version
254-
GAM 7.46.08 - https://github.com/GAM-team/GAM - pyinstaller
254+
GAM 7.46.09 - https://github.com/GAM-team/GAM - pyinstaller
255255
GAM Team <google-apps-manager@googlegroups.com>
256256
Python 3.14.6 64-bit final
257-
macOS Tahoe 26.5.1 arm64
257+
macOS Tahoe 26.5.2 arm64
258258
Path: /Users/gamteam/bin/gam7
259259
Config File: /Users/gamteam/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
260260
@@ -1034,7 +1034,7 @@ writes the credentials into the file oauth2.txt.
10341034
```
10351035
C:\>del C:\GAMConfig\oauth2.txt
10361036
C:\>gam version
1037-
GAM 7.46.08 - https://github.com/GAM-team/GAM - pythonsource
1037+
GAM 7.46.09 - https://github.com/GAM-team/GAM - pythonsource
10381038
GAM Team <google-apps-manager@googlegroups.com>
10391039
Python 3.14.6 64-bit final
10401040
Windows 11 10.0.26200 AMD64

wiki/Version-and-Help.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Print the current version of Gam with details
44
```
55
gam version
6-
GAM 7.46.08 - https://github.com/GAM-team/GAM - pyinstaller
6+
GAM 7.46.09 - https://github.com/GAM-team/GAM - pyinstaller
77
GAM Team <google-apps-manager@googlegroups.com>
88
Python 3.14.6 64-bit final
9-
macOS Tahoe 26.5.1 arm64
9+
macOS Tahoe 26.5.2 arm64
1010
Path: /Users/gamteam/bin/gam7
1111
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
1212
Time: 2026-02-15T07:51:00-08:00
@@ -15,10 +15,10 @@ Time: 2026-02-15T07:51:00-08:00
1515
Print the current version of Gam with details and time offset information
1616
```
1717
gam version timeoffset
18-
GAM 7.46.08 - https://github.com/GAM-team/GAM - pyinstaller
18+
GAM 7.46.09 - https://github.com/GAM-team/GAM - pyinstaller
1919
GAM Team <google-apps-manager@googlegroups.com>
2020
Python 3.14.6 64-bit final
21-
macOS Tahoe 26.5.1 arm64
21+
macOS Tahoe 26.5.2 arm64
2222
Path: /Users/gamteam/bin/gam7
2323
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
2424
Your system time differs from www.googleapis.com by less than 1 second
@@ -27,10 +27,10 @@ Your system time differs from www.googleapis.com by less than 1 second
2727
Print the current version of Gam with extended details and SSL information
2828
```
2929
gam version extended
30-
GAM 7.46.08 - https://github.com/GAM-team/GAM - pyinstaller
30+
GAM 7.46.09 - https://github.com/GAM-team/GAM - pyinstaller
3131
GAM Team <google-apps-manager@googlegroups.com>
3232
Python 3.14.6 64-bit final
33-
macOS Tahoe 26.5.1 arm64
33+
macOS Tahoe 26.5.2 arm64
3434
Path: /Users/gamteam/bin/gam7
3535
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
3636
Time: 2026-02-15T07:51:00-08:00
@@ -70,15 +70,15 @@ MacOS High Sierra 10.13.6 x86_64
7070
Path: /Users/gamteam/bin/gam7
7171
Version Check:
7272
Current: 5.35.08
73-
Latest: 7.46.08
73+
Latest: 7.46.09
7474
echo $?
7575
1
7676
```
7777

7878
Print the current version number without details
7979
```
8080
gam version simple
81-
7.46.08
81+
7.46.09
8282
```
8383
In Linux/MacOS you can do:
8484
```
@@ -88,10 +88,10 @@ echo $VER
8888
Print the current version of Gam and address of this Wiki
8989
```
9090
gam help
91-
GAM 7.46.08 - https://github.com/GAM-team/GAM
91+
GAM 7.46.09 - https://github.com/GAM-team/GAM
9292
GAM Team <google-apps-manager@googlegroups.com>
9393
Python 3.14.6 64-bit final
94-
macOS Tahoe 26.5.1 arm64
94+
macOS Tahoe 26.5.2 arm64
9595
Path: /Users/gamteam/bin/gam7
9696
Config File: /Users/gamteam/GamConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
9797
Time: 2026-02-15T07:51:00-08:00

0 commit comments

Comments
 (0)