Skip to content

Users Photo

Ross Scroggs edited this page Mar 12, 2019 · 15 revisions

Users - Photo

API documentation

Upload a user's photo specifying full path

gam <UserTypeEntity> update photo <FileNamePattern>
  • <FileNamePattern> should be a full file path and name
    • #email# and #user# will be replaced by the user's full email address
    • #username# will be replaced by the local part of the user's email address

Upload a user's photo specifying separate path and filename

gam <UserTypeEntity> update photo [drivedir|(sourcefolder <FilePath>)] [filename <FileNamePattern>]

By default, the user's photo will be uploaded from the current working directory.

  • drivedir - The photo will be uploaded from the directory specified by drive_dir in gam.cfg
  • `sourcefolder - The photo will be uploaded from

By default, the user's photo will be named .jpg

  • filename <FileNamePattern> - The uploaded file name is
    • #email# and #user# will be replaced by the user's full email address
    • #username# will be replaced by the local part of the user's email address

Download a user's photo

gam <UserTypeEntity> get photo [drivedir|(targetfolder <FilePath>)] [filename <FileNamePattern>] [noshow]

By default, the user's photo will be downloaded into the current working directory.

  • drivedir - The photo will be downloaded to the directory specified by drive_dir in gam.cfg
  • `targetfolder - The photo will be downloaded to

By default, the user's photo will be named .jpg

  • filename <FileNamePattern> - The downloaded file name will be
    • #email# and #user# will be replaced by the user's full email address
    • #username# will be replaced by the local part of the user's email address
  • noshow suppresses dumping the photo data to stdout.

Delete a user's photo

gam <UserTypeEntity> delete|del photo

Update History

Installation

Configuration

Notes and Information

Definitions

Command Processing

Collections

Client Access

Special Service Account Access

Service Account Access

Clone this wiki locally