Full steps to reproduce the issue:
gam info user
Expected outcome (what are you tryingto do?):
List the groups that the user owns
Actual outcome (what errors or bad behavior do you see instead?):
Gives a list of all the groups that the user belongs to, but no information on the role (owner, manager, member)
$ export GAM_CSV_ROW_FILTER='{"Owners": "regex:us...@domain.com"}'
$ gam print groups member us...@domain.com owners delimiter " "
On Windows
$ set GAM_CSV_ROW_FILTER={"Owners": "regex:user@domain,com"}
$ gam print groups member us...@domain.com owners delimiter " "
Substitute desired value for us...@domain.com
Ross
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4b61afe9-ba45-4854-b538-7a4c071ec318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Karen,I'm assuming you have a current version of Basic GAM:Linux/Mac OS.
$ export GAM_CSV_ROW_FILTER='{"Owners": "regex...@domain.com"}'
$ gam print groups member us...@domain.com owners delimiter " "
On Windows
$ set GAM_CSV_ROW_FILTER={"Owners": "regex:user@domain,com"}
$ gam print groups member us...@domain.com owners delimiter " "
Substitute desired value for us...@domain.com
Ross
On Tue, Jun 11, 2019 at 12:36 PM Karen Dienhart <karen....@lacity.org> wrote:
--Full steps to reproduce the issue:
gam info user
Expected outcome (what are you tryingto do?):
List the groups that the user owns
Actual outcome (what errors or bad behavior do you see instead?):
Gives a list of all the groups that the user belongs to, but no information on the role (owner, manager, member)
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4b61afe9-ba45-4854-b538-7a4c071ec318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Ross Scroggs
<User Email Address>
owners delimiter " " todrive.Karen,I'm assuming you have a current version of Basic GAM:Linux/Mac OS.
$ export GAM_CSV_ROW_FILTER='{"Owners": "regex...@domain.com"}'
$ gam print groups member us...@domain.com owners delimiter " "
On Windows
$ set GAM_CSV_ROW_FILTER={"Owners": "regex:user@domain,com"}
$ gam print groups member us...@domain.com owners delimiter " "
Substitute desired value for us...@domain.com
Ross
On Tue, Jun 11, 2019 at 12:36 PM Karen Dienhart <karen....@lacity.org> wrote:
--Full steps to reproduce the issue:
gam info user
Expected outcome (what are you tryingto do?):
List the groups that the user owns
Actual outcome (what errors or bad behavior do you see instead?):
Gives a list of all the groups that the user belongs to, but no information on the role (owner, manager, member)
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/4b61afe9-ba45-4854-b538-7a4c071ec318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Ross Scroggs
<User Email Address>
owners delimiter " " todrive<User Email Address>
todriveTo unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/55418018-57f4-4114-a425-cc8be379fde0%40googlegroups.com.
James,The form of the row filtering that you show is for Basic GAM, for Advanced GAM you would do:gam config csv_output_row_filter '{"Owners": "regex:<User Email Address>"}' print groups member<User Email Address>
owners delimiter " " todriveAs of version 4.86.05 you can do the following:gam print groups showownedby<User Email Address>
todriveRoss