plannerUser 资源类型

命名空间:microsoft.graph

重要

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

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

方法

方法 返回类型 说明
List tasks plannerTask 集合 获取分配给用户的 plannerTask
列出 myDayTasks plannerTask 集合 获取要显示在用户的 MyDay 视图中的 plannerTasks
列出 favoritePlans plannerPlan 集合 获取用户标记为收藏的 plannerPlans
列出 recentPlans plannerPlan 集合 获取用户最近查看的 plannerPlans
列出花名册计划 plannerPlan 集合 获取 plannerRosters 包含的用户是成员的 plannerPlans
更新 plannerUser 更新 plannerUser 对象。

属性

属性 类型 说明
id String 只读。 plannerUser 对象的唯一标识符。
favoritePlanReferences plannerFavoritePlanReferenceCollection 包含对用户标记为收藏夹的计划引用的集合。
recentPlanReferences plannerRecentPlanReferenceCollection 一个集合,其中包含对用户最近在支持最近计划的应用中查看的计划引用。

关系

关系 类型 说明
favoritePlans plannerPlan 集合 此为只读属性。 可为 NULL。 返回用户标记为收藏夹的 plannerPlans
recentPlans plannerPlan 集合 此为只读属性。 可为 NULL。 返回用户最近在支持最近计划的应用中查看的 plannerPlans
rosterPlans plannerPlan 集合 此为只读属性。 可为 NULL。 返回用户是成员的 plannerRosters 包含的 plannerPlans
tasks plannerTask collection 只读。 可为 NULL。 返回分配给用户的 plannerTasks
myDayTasks plannerTask collection 只读。 可为 NULL。 返回要显示在用户的“我的一天”视图中的 plannerTasks

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

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