Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to update user account photo #90

Closed
lucafabbri365 opened this issue Oct 4, 2018 · 7 comments
Closed

Possibility to update user account photo #90

lucafabbri365 opened this issue Oct 4, 2018 · 7 comments
Assignees

Comments

@lucafabbri365
Copy link

lucafabbri365 commented Oct 4, 2018

Is your feature request related to a problem? Please describe.
Currently it is possible to retrieve G Suite user photo only (Get-GSUserPhoto).

Describe the solution you'd like
The possibility to update user account photo (Update-GSUserPhoto)

@scrthq scrthq self-assigned this Oct 4, 2018
@scrthq
Copy link
Member

scrthq commented Oct 4, 2018

Hey @lucafabbri365 - Thanks for submitting the feature request! This should 100% be doable, I'll keep you updated!

@lucafabbri365
Copy link
Author

Thank you @scrthq !!!
Note: PSGSuite is helping the company I'm working for, to migrate about 1100 users from third party collaboration suite ;-).

@scrthq
Copy link
Member

scrthq commented Oct 4, 2018

@lucafabbri365 that's so awesome to hear!! I'm glad PSGSuite is doing wonders for you 😃

@scrthq
Copy link
Member

scrthq commented Oct 5, 2018

Alright, so Update-GSUserPhoto is done and I'm able to validate by running Get-GSUserPhoto -OutFilePath . -OutFileFormat PNG after updating my own photo. Google's Web UI is a bit slow to update though, looks like cache on Google's servers and not in-browser. I'm giving it until tomorrow before I push out a new release and wrapping a couple other fixes in with it for #87 💪 . Also including Remove-GSUserPhoto for full UserPhoto API coverage.

scrthq added a commit that referenced this issue Oct 5, 2018
scrthq added a commit that referenced this issue Oct 5, 2018
## 2.15.1
 * [Issue #87](#87)
  * Added `User` parameter to all Classroom functions to specify which user to authenticate the request as
* [Issue #90](#90)
  * Added `Update-GSUserPhoto`
  * Added `Remove-GSUserPhoto`
@scrthq
Copy link
Member

scrthq commented Oct 5, 2018

v2.15.1 deploying now with the additional UserPhoto functions! 🚀

@lucafabbri365
Copy link
Author

Simply Great !!

Thank you @scrthq !!

@scrthq
Copy link
Member

scrthq commented Oct 5, 2018

you bet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants