Group-Members all possible fields

622 views
Skip to first unread message

Nordic

unread,
Mar 19, 2023, 9:09:38 PM3/19/23
to GAM for Google Workspace
Hello -

I'm new to GAM and was trying to get a list of all possible "fields" for group-members. There are other items where it might be useful to get all the possible attributes. Is there a list for those? Is there a command that will print all attributes?

For example, gam print group-members group a...@company.com fields * returns and error.

Any guidance, much appreciated.

Maj Marshall Giguere

unread,
Mar 19, 2023, 9:55:36 PM3/19/23
to google-ap...@googlegroups.com
By default print returns the fields: group, type, role, id, status, email.  You can add two options membernames and deliverysettings to see the member names and what their delivery option is set to, or you can use the "fields" option to select which printable fields you want: <delivery|deliverysettings|email|group|groupemail|id|name|role|status|type|useremail>

Display group membership in CSV format

If you want to see the additional fields:

gam print group-members group some...@example.com membernames deliverysettings

Maj Marshall E Giguere

NH Wing Director of IT

Civil Air Patrol, U.S. Air Force Auxiliary

GoCivilAirPatrol.com

nhwg.cap.gov

Volunteers serving America's communities, saving lives, and shaping futures.



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c3315d58-bd68-4747-9b50-a7acdfa8f0e2n%40googlegroups.com.

Ross Scroggs

unread,
Mar 19, 2023, 11:55:27 PM3/19/23
to google-ap...@googlegroups.com

Nordic

unread,
Mar 20, 2023, 10:57:09 AM3/20/23
to GAM for Google Workspace
Thank you both for the quick reply. 

Interestingly, the name field is returned using either "name" or "membernames." As you can see below, all of my group members with external email addresses show up as "Unknown." Indeed, when viewed in the GUI, that name field just repeats their email address. Is it possible to update the name field using GAM? That is, I'd like to replace "Unknown" with the subscriber's real name?

Thanks.

groupmember.png

Ross Scroggs

unread,
Mar 20, 2023, 11:07:03 AM3/20/23
to google-ap...@googlegroups.com
There is no API support for updating the member name for external members, so GAM can't help.

Ross



--

Nordic

unread,
Mar 20, 2023, 12:13:45 PM3/20/23
to GAM for Google Workspace
Thanks for that clarification. I realize it might be a little outside the scope of this Group, but do you know how to do it manually? I've tried using a csv import, and it does not seem to work.

For example, this group about GAM seems to list the participants' names correctly. If you run that GAM print command against this Group, do you see names or do they show as "unknown" or the correct name?

Thanks

Reply all
Reply to author
Forward
0 new messages