Edit

userAssignment resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the assignment of a user to a task. The assignee identity (user) is returned by default; assignedBy and assignedDateTime require $select.

Inherits from plannerDelta.

Methods

Method Return type Description
List userAssignment collection Get a list of the userAssignment objects and their properties.
Create userAssignment Create a new userAssignment object.
Get userAssignment Read the properties and relationships of userAssignment object.
Update userAssignment Update the properties of a userAssignment object.

Properties

Property Type Description
assignedBy identitySet Identity of the user (or application) that made the assignment.
assignedDateTime DateTimeOffset Date and time the assignment was made.
capabilities userAssignmentCapability Server-computed, read-only capability flags indicating which optional features are enabled for the entity.
id String The unique identifier of the entity. Read-only. Inherited from entity
user identity Identity of the user assigned to the task.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.userAssignment",
  "id": "String (identifier)",
  "user": {
    "@odata.type": "microsoft.graph.identity"
  },
  "assignedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "assignedDateTime": "String (timestamp)",
  "capabilities": {
    "@odata.type": "microsoft.graph.userAssignmentCapability"
  }
}