Get Avatar user
Retrieve the image of a user.
To return avatar of user from O365 using url: api/users/photo/Microsoft.Graph.User/{email}
. To return avatar of user from source using url: api/users/photo/{source-code}/{user-id}
.
GET api/users/photo/Microsoft.Graph.User/{email}
--Cookie: graphNodeCookie=[ID]
Or
GET api/users/photo/{source-code}/{user-id}
--Cookie: graphNodeCookie=[ID] |
URL Endpoint
api/users/photo/Microsoft.Graph.User/{email-user}
OR
api/users/photo/{source-code}/{user-id}
Method
GET.
Parameters
No support OData Filter syntax.
Request Header
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
Body
This method does not supply the request body.
Response
Success
Retrieve the image of user.