Giter Site home page Giter Site logo

Comments (14)

dwrusse avatar dwrusse commented on August 20, 2024 2

from psgsuite.

BarnumD avatar BarnumD commented on August 20, 2024 1

Sure. I'm using version 4.89.06 of this customized version of gam. Here's some example commands

gam create contact givenname John familyname Doe name John Doe email work [email protected] notprimary userdefinedfield employeeID 12345
gam update contacts [ContactID] givenname Jane familyname Smith name Jane Smith email work [email protected] notprimary
gam delete contacts [ContactID]

from psgsuite.

samsclub91 avatar samsclub91 commented on August 20, 2024 1

I was wondering if any more thought had gone into managing individual users contacts? Mainly adding/updating contact information, I see where there are functions to view and delete contacts but not add or update.

Like @BarnumD I can do this with the custom version of GAM but I vastly prefer using PSGSuite wherever possible.

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

@ryanfog - don't want you to think I forgot about this! Issue opened to track this request directly. Hoping to have at least domain level contact management doable via direct calls to Google's REST API, will need to figure out the user side of it as well though.

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

Branch created to track development for this: https://github.com/scrthq/PSGSuite/tree/feature/ContactMgmt_issue53

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

@dwrusse - Here's the Contact management open request if you want to note anything here, since I know you've been working on this a little lately!

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

@dwrusse - your additions have been released alongside a few others in v2.18.0!

@ryanfog - Get-GSContactList and Remove-GSContact now available in PSGSuite v2.18.0!

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

hey @dwrusse - just an FYI - did some more cleanup on the functions in the most recent release (v2.18.1) around access token retrieval (switched to using Get-GSToken for that instead of using New-GoogleService, since that's purpose-built for retrieving Access Tokens for REST/GData API calls), as well as just cleanup in general. Try it out and let me know if you have any issues/questions!

from psgsuite.

BarnumD avatar BarnumD commented on August 20, 2024

I would like to manage gSuite Global contacts (directory) by editing a user's includeinaddressbook account parameter as well as managing the global shared contacts list for external accounts that appear in the directory. I assume this is the right Issue to track that request. Is this still being worked on?

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

hey @BarnumD - The Global Shared Contacts list fits in here, but I believe the IncludeInGlobalAddressList parameter for user creation / updating would be separate (that would need to be added to the New-GSUser / Update-GSUser functions, from what I can tell). This is still being worked on, but the Contacts API has been sunset in favor of the newer People API, so investigation around capability with the new API still needs to happen

from psgsuite.

BarnumD avatar BarnumD commented on August 20, 2024

I'm using IncludeInGlobalAddressList in New-GSUser/Update-GSUser now. It's working well.
Looking forward to global shared contact support so I can ditch gam. Thanks!

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

thanks for the follow-up on this, @BarnumD! I'm trying to find the info on the GAM wiki around Contact management, but I'm not seeing it outright. Would you be able to provide a sample GAM command that you use with filler/dummy values for info and the version of GAM you're using, by chance?

from psgsuite.

scrthq avatar scrthq commented on August 20, 2024

just what i needed

@BarnumD 😄

from psgsuite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.