---
title: "Element <assignedto>"
source: https://dev.pageseeder.com/api/elements/element_assignedto.html
description: "API Element reference for <assignedto>"
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~668
---

# \<assignedto\>

## Summary

The details of a member that a [task](../../reference/glossary/task.md) or [comment](../../reference/glossary/comment.md) was assigned to.

The model inherits from the basic representation of a member and includes the date the assignment was made.

## Usage context

| Permitted content | `<fullname>` |
| --- | --- |
| Permitted parent | `<comment> <task>` |

## Attributes

This element inherits the following attributes from the [\<member\>](element_member.md) element.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| attachments | `boolean` | no | If the user receives email attachments |
| email | `email` | no | The email address of the member |
| externalid | `xs:string` | no | An external identifier for the member |
| firstname | `xs:string` | yes | The first name of the member |
| id | `xs:long` | yes | The ID of the member in PageSeeder |
| locked | `boolean` | no | If the member account is locked |
| onvacation | `boolean` | no | If the member email option is set to ‘on vacation’ |
| status | `enum` | yes | The current status of the member |
| surname | `xs:string` | yes | The surname of the member |
| username | `xs:string` | yes | The username of the member |

It also includes the following attribute:

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| date | `xs:dateTime` | yes | When the assignment was made |

### `@date`

The date and time the comment/task was assigned to the member.

## Examples

## Schema

### XML Schema

See `XML schema for element <member>` for complete definition.

```lang-xml
<xs:element name="assignedto" type="assignedto" />

<xs:complexType name="assignedto">
  <xs:complexContent>
    <xs:extension base="member-core">
      <xs:attribute name="date" type="xs:dateTime" use="required"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
```

### Relax Schema

```lang-relax

element member {
   attribute activated   { xs:dateTime }?,
   attribute attachments { xs:boolean }?,
   attribute created     { xs:dateTime }?,
   attribute date        { xs:dateTime }?,
   attribute email       { text { maxLength = "100"} }?,
   attribute externalid  { text { maxLength = "100"} }?,
   attribute firstname   { text { maxLength = "50"}},
   attribute id          { xs:long },
   attribute locked      { xs:boolean }?,
   attribute onvacation  { xs:boolean }?,
   attribute status      { "activated" | "set-password" | "unactivated" }?,
   attribute surname     { text { maxLength = "50"}},
   attribute username    { text { maxLength = "100"}},
   element fullname { text }
}
```

## Compatibility

No change since initial API release.

