plannerUser 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

PlannerUser资源为用户提供对 Planner 资源的访问权限。

方法

方法 返回类型 说明
List tasks plannerTask 集合 获取分配给用户的 plannerTasks
列出 favoritePlans plannerPlan 集合 获取用户标记为收藏的 plannerPlans
列出 recentPlans plannerPlan 集合 获取用户最近查看过的 plannerPlans
更新 plannerUser 更新 plannerUser 对象。

属性

属性 类型 说明
id String 只读。 PlannerUser 的标识符
favoritePlanReferences plannerFavoritePlanReferenceCollection 包含对用户已标记为收藏夹的计划引用的集合。
recentPlanReferences plannerRecentPlanReferenceCollection 包含对计划的引用的集合,该用户最近在支持最近计划的应用程序中查看了这些计划。

关系

关系 类型 说明
tasks plannerTask collection 只读。 可为 NULL。 返回分配给用户的 plannerTasks
favoritePlans plannerPlan 集合 只读。 可为 NULL。 返回用户标记为收藏夹的 plannerPlans
recentPlans plannerPlan 集合 只读。 可为 NULL。 返回用户最近在支持最近计划的应用程序中查看的 plannerPlans

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "favoritePlanReferences": {"@odata.type": "microsoft.graph.plannerFavoritePlanReferenceCollection"},
  "id": "String (identifier)",
  "recentPlanReferences": {"@odata.type": "microsoft.graph.plannerRecentPlanReferenceCollection"}
}