mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Added option recursive to gam print|show admins
This commit is contained in:
@@ -1475,16 +1475,20 @@ gam delete admin <RoleAssignmentId>
|
|||||||
## Display administrators
|
## Display administrators
|
||||||
```
|
```
|
||||||
gam print admins [todrive <ToDriveAttribute>*]
|
gam print admins [todrive <ToDriveAttribute>*]
|
||||||
[user|group <EmailAddress>|<UniqueID>] [role <RoleItem>] [condition]
|
[user|group <EmailAddress>|<UniqueID>] [role <RoleItem>]
|
||||||
[privileges] [oneitemperrow]
|
[recursive] [condition] [privileges] [oneitemperrow]
|
||||||
gam show admins
|
gam show admins
|
||||||
[user|group <EmailAddress>|<UniqueID>] [role <RoleItem>] [condition] [privileges]
|
[user|group <EmailAddress>|<UniqueID>] [role <RoleItem>]
|
||||||
|
[recursive] [condition] [privileges]
|
||||||
```
|
```
|
||||||
By default, all administrators and roles are displayed; choose from the following
|
By default, all administrators and roles are displayed; choose from the following
|
||||||
options to limit the display:
|
options to limit the display:
|
||||||
* `user <UserItem>` - Display only this administrator
|
* `user|group <EmailAddress>|<UniqueID>` - Display assignments to this administrator
|
||||||
* `role <RoleItem>` - Display only administrators with this role
|
* `role <RoleItem>` - Display only administrators with this role
|
||||||
|
|
||||||
|
By default, assignments to security groups are shown as a single item; use `recursive'
|
||||||
|
to display assignments to the members of the security groups the security group membershop is recursively expanded.
|
||||||
|
|
||||||
* `condition` - Display any conditions associated with a role assignment
|
* `condition` - Display any conditions associated with a role assignment
|
||||||
* `privileges` - Display privileges associated with each role assignment
|
* `privileges` - Display privileges associated with each role assignment
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ Add the `-s` option to the end of the above commands to suppress creating the `g
|
|||||||
|
|
||||||
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
||||||
|
|
||||||
|
### 7.23.05
|
||||||
|
|
||||||
|
Added option `recursive` to `gam print|show admins` that will display assignments to the members
|
||||||
|
of security groups assigned to roles; the security group membership is recursively expanded.
|
||||||
|
|
||||||
### 7.23.04
|
### 7.23.04
|
||||||
|
|
||||||
Added option `addcsvdata <FieldName> <String>` to `gam <UserTypeEntity> print events`
|
Added option `addcsvdata <FieldName> <String>` to `gam <UserTypeEntity> print events`
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ writes the credentials into the file oauth2.txt.
|
|||||||
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
|
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
|
||||||
admin@server:/Users/admin$ gam version
|
admin@server:/Users/admin$ gam version
|
||||||
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
|
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
|
||||||
GAM 7.23.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.23.05 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.7 64-bit final
|
Python 3.13.7 64-bit final
|
||||||
macOS Tahoe 26.0.1 x86_64
|
macOS Tahoe 26.0.1 x86_64
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
Print the current version of Gam with details
|
Print the current version of Gam with details
|
||||||
```
|
```
|
||||||
gam version
|
gam version
|
||||||
GAM 7.23.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.23.05 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.7 64-bit final
|
Python 3.13.7 64-bit final
|
||||||
macOS Tahoe 26.0.1 x86_64
|
macOS Tahoe 26.0.1 x86_64
|
||||||
@@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00
|
|||||||
Print the current version of Gam with details and time offset information
|
Print the current version of Gam with details and time offset information
|
||||||
```
|
```
|
||||||
gam version timeoffset
|
gam version timeoffset
|
||||||
GAM 7.23.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.23.05 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.7 64-bit final
|
Python 3.13.7 64-bit final
|
||||||
macOS Tahoe 26.0.1 x86_64
|
macOS Tahoe 26.0.1 x86_64
|
||||||
@@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second
|
|||||||
Print the current version of Gam with extended details and SSL information
|
Print the current version of Gam with extended details and SSL information
|
||||||
```
|
```
|
||||||
gam version extended
|
gam version extended
|
||||||
GAM 7.23.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.23.05 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.7 64-bit final
|
Python 3.13.7 64-bit final
|
||||||
macOS Tahoe 26.0.1 x86_64
|
macOS Tahoe 26.0.1 x86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user