How to update user details using GAM Tool

4,970 views
Skip to first unread message

Jaganath Senapati

unread,
Oct 29, 2015, 8:58:25 AM10/29/15
to Google Apps Manager
How to update user details like address,phone no,first name,last name,cost centre,manager

Kindly share the synax with example.

Thanks.
Jaganath Senapati

Graham Ingleby

unread,
Oct 29, 2015, 1:34:31 PM10/29/15
to GAM group

 

 Graham Ingleby | Cloud Computing Consultant | +44 1344 203395 | ging...@ancoris.com
Google+  

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f939b40f-e3bd-4a54-9f96-5bc921382268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ




Jaganath Senapati

unread,
Oct 30, 2015, 1:34:21 AM10/30/15
to Google Apps Manager
Dear Graham ,

Thanks for reply.

My requirement is different ,
I want to update user details using a .csv file.
What is the syntax & what is the structure of .csv file ?


Regards ,
Jaganath Senapati


On Thursday, October 29, 2015 at 11:04:31 PM UTC+5:30, Graham Ingleby wrote:

 

 Graham Ingleby | Cloud Computing Consultant | +44 1344 203395 | ging...@ancoris.com
Google+  

On 29 October 2015 at 12:58, Jaganath Senapati <jaganath...@infiflex.co> wrote:
How to update user details like address,phone no,first name,last name,cost centre,manager

Kindly share the synax with example.

Thanks.
Jaganath Senapati

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

Graham Ingleby

unread,
Oct 30, 2015, 10:28:06 AM10/30/15
to GAM group
Assuming you have the CSV file already, then make sure it has a header row and use the CSV commands, plus the one I mentioned earlier - see https://github.com/jay0lee/GAM/wiki/BulkOperations#using-csv-files

Hope that helps


 

 Graham Ingleby | Cloud Computing Consultant | +44 1344 203395 | ging...@ancoris.com
Google+  

On 30 October 2015 at 05:34, Jaganath Senapati <jaganath...@infiflex.co> wrote:
Dear Graham ,

Thanks for reply.

My requirement is different ,
I want to update user details using a .csv file.
What is the syntax & what is the structure of .csv file ?


Regards ,
Jaganath Senapati

On Thursday, October 29, 2015 at 11:04:31 PM UTC+5:30, Graham Ingleby wrote:

 

 Graham Ingleby | Cloud Computing Consultant | +44 1344 203395 | ging...@ancoris.com
Google+  

On 29 October 2015 at 12:58, Jaganath Senapati <jaganath...@infiflex.co> wrote:
How to update user details like address,phone no,first name,last name,cost centre,manager

Kindly share the synax with example.

Thanks.
Jaganath Senapati

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.


This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ




--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.

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

Jaganath Senapati

unread,
Oct 31, 2015, 1:00:56 AM10/31/15
to Google Apps Manager
Hii Graham ,
Thanks For your reply,Please help me out for below things.
gam csv passwords.csv gam update user ~Email password ~Password    --> This three parameters are working
I want to update below all parameters ,Kindly share the syntax .
First Name,Last Name,Email Address,Password,Secondary Email,Work Phone 1,Home Phone 1,Mobile Phone 1,Work address 1,Home address 1,Employee Id,Employee Type,Employee Title,Manager,Department,Cost Center
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.


This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ




--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.

Ross Scroggs

unread,
Oct 31, 2015, 9:36:00 AM10/31/15
to google-ap...@googlegroups.com
Jaganath,

See: https://github.com/jay0lee/GAM/wiki/GAM3DirectoryCommands#update-and-rename-a-user

Look at tthese sections:  Update and Rename a User, Setting User Profile Details at Create or Update

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 http://groups.google.com/group/google-apps-manager.

Jaganath Senapati

unread,
Nov 1, 2015, 11:17:47 PM11/1/15
to Google Apps Manager
Dear Ross ,

Your Information is not useful.

Thanks & Regards ,
Jaganath Senapati

Bri Hatch

unread,
Nov 2, 2015, 9:57:04 AM11/2/15
to google-ap...@googlegroups.com
On Sun, Nov 1, 2015 at 8:17 PM, Jaganath Senapati <jaganath...@infiflex.co> wrote:
Dear Ross ,

Your Information is not useful.

Dear Jaganath: you are not engaging in this forum in a fruitful manner.

If responses are not helping, perhaps you should re-phrase your problem statement, suggest things you've tried, and where things aren't working as hoped, in a manner that is looking for assistance and not demanding others solve your problem.



-- 
Bri Hatch, Systems and Security Engineer. http://www.ifokr.org/bri/

bfromm: "Some are for it, some are against it."
wac: (gives bfromm the finger)
bfromm: "As you can see, wac has given it a +1."

Ross Scroggs

unread,
Nov 2, 2015, 10:12:38 AM11/2/15
to google-ap...@googlegroups.com
Jaganath,

The sections I referenced and the one just above it (Creating a User) show you the syntax of the gam create/update user commands. Combine that information with what you've already discovered.

Suppose that your CSV file (UserInfo.csv) has the following columns:
Email, Password, FirstName, LastName, WorkPhone, HomePhone, OtherWorkEmail, 

gam csv UserInfo.csv gam update user ~Email firstname ~FirstName lastname ~LastName phone type work value ~WorkPhone primary phone type home value ~HomePhone notprimary otheremail work ~OtherWorkEmail

For every field in the syntax that describes a field that you are interested in, <org cost center> for example, you will have a column in your CSV file, OrgCostCenter, with the desired data.

You may have to use custom schemas (https://github.com/jay0lee/GAM/wiki/GAM3DirectoryCommands#setting-custom-user-schema-fields-at-create-or-update) for some of the fields that you describe, Employee ID, Employee Type, for example.

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 http://groups.google.com/group/google-apps-manager.

Jaganath Senapati

unread,
Nov 2, 2015, 11:22:53 PM11/2/15
to google-ap...@googlegroups.com
Thanks a lot Ross.

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.


This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ




--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.


This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ




--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" 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 http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/99472776-e4ad-410e-9f30-5086f9b63cda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/61OeCbrVKLc/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-apps-manager.

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



--


Sincerely ,


                                              Technical Support
                                  Infiflex Technology Pvt. Ltd. - Kolkata
                            
               "Please use Chrome Browser to get the best of Google Apps for Work".
Reply all
Reply to author
Forward
0 new messages