plannerUser 资源类型plannerUser resource type

重要

Microsoft Graph 中/beta的版本下的 api 可能会发生更改。APIs under the /beta version in Microsoft Graph are subject to change. 不支持在生产应用程序中使用这些 API。Use of these APIs in production applications is not supported.

PlannerUser资源为用户提供对 Planner 资源的访问权限。The plannerUser resource provides access to Planner resources for a user.

方法Methods

方法Method 返回类型Return Type 说明Description
List tasksList tasks plannerTask 集合plannerTask collection 获取分配给用户的plannerTasksGet the plannerTasks assigned to the user.
列出 favoritePlansList favoritePlans plannerPlan 集合plannerPlan collection 获取用户标记为收藏的plannerPlansGet the plannerPlans marked as favorite by the user.
列出 recentPlansList recentPlans plannerPlan 集合plannerPlan collection 获取用户最近查看过的plannerPlansGet the plannerPlans recently viewed by the user.
更新Update plannerUserplannerUser 更新plannerUser对象。Update a plannerUser object.

属性Properties

属性Property 类型Type 说明Description
idid StringString 只读。Read-only. PlannerUser 的标识符Identifier of the plannerUser
favoritePlanReferencesfavoritePlanReferences plannerFavoritePlanReferenceCollectionplannerFavoritePlanReferenceCollection 包含对用户已标记为收藏夹的计划引用的集合。A collection containing the references to the plans that the user has marked as favorites.
recentPlanReferencesrecentPlanReferences plannerRecentPlanReferenceCollectionplannerRecentPlanReferenceCollection 包含对计划的引用的集合, 该用户最近在支持最近计划的应用程序中查看了这些计划。A collection containing references to the plans that were viewed recently by the user in apps that support recent plans.

关系Relationships

关系Relationship 类型Type 说明Description
taskstasks plannerTask collectionplannerTask collection 只读。Read-only. 可为 Null。Nullable. 返回分配给用户的plannerTasksReturns the plannerTasks assigned to the user.
favoritePlansfavoritePlans plannerPlan 集合plannerPlan collection 只读。Read-only. 可为 Null。Nullable. 返回用户标记为收藏夹的plannerPlansReturns the plannerPlans that the user marked as favorites.
recentPlansrecentPlans plannerPlan 集合plannerPlan collection 只读。Read-only. 可为 Null。Nullable. 返回用户最近在支持最近计划的应用程序中查看的plannerPlansReturns the plannerPlans that have been recently viewed by the user in apps that support recent plans.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

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