[英]Retrieving the image of a user through Microsoft graph api
I am trying to fetch the image of a user based on email id from microsoft graph API. I am able to get the details of the logged in user using https://graph.microsoft.com/v1.0/me/photo/$value .我正在尝试根据 email id 从 microsoft graph API 获取用户的图像。我能够使用https://graph.microsoft.com/v1.0/me/photo/获取登录用户的详细信息$价值。
What i need is image of another user based on email id.我需要的是基于 email id 的另一个用户的图像。 Is there a way to accomplish this?
有没有办法做到这一点?
Ref: Microsoft Graph API Explorer参考: Microsoft Graph API Explorer
You can use the below api from the graph explorer to get the photo您可以使用以下 api 从图形资源管理器中获取照片
Microsoft Graph Explorer Microsoft Graph 资源管理器
https://graph.microsoft.com/v1.0/users/<email id>/photo/$value
It will retrieve photo of the user.它将检索用户的照片。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.