Updating users title, not sure about organization name

1,215 views
Skip to first unread message

Jonas

unread,
Jan 11, 2018, 8:56:19 AM1/11/18
to GAM for G Suite
Hi there, brand new to the world of GAM so i figured I'd ask. 

I've just created a brand new user with GAM. This is what I get when I gam info on that guy.

PS C:\Users\myuseraccount> gam info user Donald...@whitehouse.com
User: Donald...@whitehouse.com
First Name: Donald
Last Name: Trump
Is a Super Admin: False
Is Delegated Admin: False
2-step enrolled: False
2-step enforced: False
Has Agreed to Terms: True
IP Whitelisted: False
Account Suspended: False
Must Change Password: True
Google Unique ID: 114441341341393138107
Customer ID: C02qeri1v
Mailbox is setup: True
Included in GAL: True
Creation Time: 2018-01-10T22:15:10.000Z
Last login time: Never
Google Org Unit Path: /Employees
Phones:
 type: mobile
 primary: True
 value: 202-324-3000
Groups: (3)
   All-Washington <allWas...@whitehouse.com>
   All-Presidents <allPre...@whitehouse.com>
Licenses:
  Google-Apps-For-Business (G Suite Basic)

Now I want to update his title that shows up in the google admin panel when you click under https://admin.google.com user panel and expand account. 

PS C:\Users\myuseraccount> gam update user Donald...@whitehouse.com title "Current President"
ERROR: title is not a valid argument for "gam update user"

A user that already has the title set looks like this 

PS C:\Users\myuseraccount> gam info user Barack...@whitehouse.com
User: Barack...@whitehouse.com
First Name: Barack
Last Name: Obama
Is a Super Admin: False
Is Delegated Admin: False
2-step enrolled: False
2-step enforced: False
Has Agreed to Terms: True
IP Whitelisted: False
Account Suspended: False
Must Change Password: False
Google Unique ID: 114441341341393138107
Customer ID: C02qeri1v
Mailbox is setup: True
Included in GAL: True
Creation Time: 2017-08-22T17:19:30.000Z
Last login time: 2018-01-10T21:47:06.000Z
Google Org Unit Path: /Employees
Notes:
 contentType: text_plain
 value:
Organizations:
 department: Past Presidents
 primary: True
 name: 
 title: President 2008-2016
Phones:
 type: mobile
 primary: True
 value: 202-324-3000
Groups: (2)
   All-Washington <allWas...@whitehouse.com>
   All-Presidents <allPre...@whitehouse.com>
Licenses:
  Google-Apps-For-Business (G Suite Basic)
 

What should my gam update command look like to update the first user? what organization name do i look for? 

Let me know if you need any other info, not entirely sure what i need to add. 

Thanks!

Ross Scroggs

unread,
Jan 11, 2018, 10:30:44 AM1/11/18
to google-ap...@googlegroups.com
Jonas,

title is part of organization.

        (organization clear|([type domain_only|school|unknown|work] [customtype <String>] [name <String>] [title <String>] [department <String>] [symbol <String>]

                [costcenter <String>]  [location <String>] [description <String>] [domain <String>] notprimary|primary))|


gam update user Donald...@whitehouse.com organization title "Current President" primary

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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@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/9904e0ce-9fac-407c-b4b8-2602a0bac369%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Jonas Andresen

unread,
Jan 11, 2018, 3:59:22 PM1/11/18
to google-ap...@googlegroups.com
Hi Ross, Thanks for the quick response, really appreciate that. 

How can I confirm the organization name? it doesnt show up in get info user xx...@xxxxxxxxx.com

Jonas Andresen
IT Administrator

Direct: 780.784.1465
Cell: 780.919.3040
Main: (780) 784-1990 ext. 140
Email: jonas.a...@ccisolutions.ca

www.ccisolutions.ca

Proud to be named one of Canada's Best Managed Companies!


This e-mail and any attachment(s) are confidential. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and do not copy, use or disclose it to any other person.

On Thu, Jan 11, 2018 at 8:30 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
Jonas,

title is part of organization.

        (organization clear|([type domain_only|school|unknown|work] [customtype <String>] [name <String>] [title <String>] [department <String>] [symbol <String>]

                [costcenter <String>]  [location <String>] [description <String>] [domain <String>] notprimary|primary))|


gam update user Donald.Trump@whitehouse.com organization title "Current President" primary

Ross

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.



--

--
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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Ross Scroggs

unread,
Jan 11, 2018, 4:11:52 PM1/11/18
to google-ap...@googlegroups.com
Jonas,

You've got to define all of the organization fields you want to see.

        (organization clear|([type domain_only|school|unknown|work] [customtype <String>] [name <String>] [title <String>] [department <String>] [symbol <String>]

                [costcenter <String>]  [location <String>] [description <String>] [domain <String>] notprimary|primary))|


gam update user Donald.Trump@whitehouse.com organization title "Current President" name "US Government" department "Executive" location "White House" symbol "POTUS" costcenter "Tax Payers" primary

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-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Jonas Andresen

unread,
Jan 11, 2018, 4:33:41 PM1/11/18
to google-ap...@googlegroups.com
Ahh sorry, didnt see the text.. i got it working.. thank you so much!

Jonas Andresen
IT Administrator

Direct: 780.784.1465
Cell: 780.919.3040
Main: (780) 784-1990 ext. 140
Email: jonas.a...@ccisolutions.ca

www.ccisolutions.ca

Proud to be named one of Canada's Best Managed Companies!


This e-mail and any attachment(s) are confidential. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and do not copy, use or disclose it to any other person.

On Thu, Jan 11, 2018 at 8:30 AM, Ross Scroggs <ross.s...@gmail.com> wrote:
Jonas,

title is part of organization.

        (organization clear|([type domain_only|school|unknown|work] [customtype <String>] [name <String>] [title <String>] [department <String>] [symbol <String>]

                [costcenter <String>]  [location <String>] [description <String>] [domain <String>] notprimary|primary))|


gam update user Donald.Trump@whitehouse.com organization title "Current President" primary

Ross

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.



--

--
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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
Reply all
Reply to author
Forward
0 new messages