# GAM Users Command Reference Adapted with love from the [GAM Cheat Sheet](https://gamcheatsheet.com/) *** ## gam **create** | **update** user [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#user-email) [options] ## gam [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#who) **update** user [options] Common options: * [firstname \] * [lastname \] * [password \] * [email \] * [gal on|off] * [suspended on|off] * [sha] * [md5] * [crypt] * [nohash] * [changepassword on|off] * [org \] Extended options: * [relation \ \] * [externalid \ \] * [phone type \ value \ primary|notprimary] * [organization * name \ * title \ * type \ * department \ * symbol \ * costcenter \ * location \ * description \ * domain \ * primary|notprimary] * [address * type \
* unstructured \ * extendedaddress \
* streetaddress \
* locality \
* region \
* postalcode \
* pobox \
* countrycode \
* primary|notprimary] * [im type \ protocol \ primary \] * [location * type \ * area \ * building \ * desk \ * floor \ * section \ * endlocation] * [sshkeys * expires \ * key \] * [posixaccounts * gecos \ * gid \ * uid \ * home \ * primary true|false * shell \ * system \ * username \ * endposix] * [agreedtoterms on|off] * [schemaname.fieldname \] * [schemaname.multivaluefieldname multivalued \] Extended options for update only: * [customerid \] * [otheremail home|work|other|\ \] ## gam **info** user [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#user-email) * [nogroups] * [noaliases] * [nolicenses] * [noschemas] * [schemas list,of,schemas] * [userview] * [skus \] ## gam delete user [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#user-email) ## gam undelete user [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#user-email) [org \] ## gam [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#who) print ## gam print users * [allfields] * [custom all|list,of,schemas] * [userview] * [ims] * [emails] * [externalids] * [relations] * [addresses] * [organizations] * [phones] * [licenses] * [photo] * [firstname] * [lastname] * [emailparts] * [deleted_only] * [id] * [orderby email|firstname|lastname] * [query \] * [ascending|descending] * [domain \] * [fullname] * [ou] * [suspended] * [changepassword] * [gal] * [agreed2terms] * [admin] * [creationtime] * [aliases] * [lastlogintime] * [groups] * [ismailboxsetup] * [todrive] ## gam [\](https://github.com/jay0lee/GAM/wiki/Command-Reference:-Definitions#who) show gmailprofile|gplusprofile [todrive]