msgraph.go
msgraph.go copied to clipboard
How to download the Photo of a user?
I would like to obtain the Photo for a given user. I just find the metadata like height
photo, err := graphClient.Users().ID( *user.ID ).Photo().Request().Get(ctx)
var height = photo.Height
The documentation states that there should be a "$value" added to the path. How do I construct it?