如何在 Microsoft Graph 中获取用户在线状态? [英] How to get user online status in Microsoft Graph?

查看:44
本文介绍了如何在 Microsoft Graph 中获取用户在线状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Microsoft Graph.

I am using Microsoft Graph.

我试过了

GET /users/{id | userPrincipalName}

获取用户在线状态(在线/忙碌/离线...),就像 Outlook 中的一样.

to get user online status (online / busy / offline...) like the one in Outlook.

但是,它不会给我任何像 onlineStatus 这样的字段.

However, it won't give me any field like onlineStatus.

是否有用于获取用户在线状态的 API?

Is there an API to get user online status?

推荐答案

这应该可以使用 presence-Api (GET/users/{id}/presence).不幸的是,这仍处于测试阶段.

This should be possible using the presence-Api (GET /users/{id}/presence). Unfortunately this is still in beta.

这篇关于如何在 Microsoft Graph 中获取用户在线状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆