> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.canvas.core.GetUser

- Component: `appmixer.canvas.core.GetUser`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.canvas 1.1.4](https://connectors.appmixer.com/connector/appmixer.canvas/1.1.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.canvas/1.1.4/component/appmixer.canvas.core.GetUser>

Returns the details for a specific user based on their user ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| User ID (`userId`) | number | The user ID of the user you want to retrieve details. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| User ID (`id`) | integer | - |
| Name (`name`) | string | - |
| First Name (`first_name`) | string | - |
| Last Name (`last_name`) | string | - |
| Nick Name (`short_name`) | string | - |
| Enrollments (`enrollments`) | array | - |
| Email (`email`) | string | - |
| Locale (`locale`) | string | - |
| Last Login (`last_login`) | string | - |
| Time Zone (`time_zone`) | string | - |
| Bio (`bio`) | string | - |
| Permissions (`permissions`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.canvas.core.GetUser",
  "author": "Harsha Surisetty <harsha@client.io>",
  "description": "Returns the details for a specific user based on their user ID.",
  "private": false,
  "auth": {
    "service": "appmixer:canvas"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "number"
          }
        },
        "required": [
          "userId"
        ]
      },
      "inspector": {
        "inputs": {
          "userId": {
            "type": "number",
            "index": 1,
            "label": "User ID",
            "tooltip": "The user ID of the user you want to retrieve details."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "User ID",
          "value": "id",
          "schema": {
            "type": "integer",
            "example": 1047
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Jane Doe"
          }
        },
        {
          "label": "First Name",
          "value": "first_name",
          "schema": {
            "type": "string",
            "example": "Jane"
          }
        },
        {
          "label": "Last Name",
          "value": "last_name",
          "schema": {
            "type": "string",
            "example": "Doe"
          }
        },
        {
          "label": "Nick Name",
          "value": "short_name",
          "schema": {
            "type": "string",
            "example": "Jane"
          }
        },
        {
          "label": "Enrollments",
          "value": "enrollments",
          "schema": {
            "type": "array",
            "example": [
              {
                "id": 8812,
                "course_id": 312,
                "type": "StudentEnrollment",
                "enrollment_state": "active"
              }
            ]
          }
        },
        {
          "label": "Email",
          "value": "email",
          "schema": {
            "type": "string",
            "example": "jane.doe@example.edu"
          }
        },
        {
          "label": "Locale",
          "value": "locale",
          "schema": {
            "type": "string",
            "example": "en"
          }
        },
        {
          "label": "Last Login",
          "value": "last_login",
          "schema": {
            "type": "string",
            "example": "2026-09-09T14:22:05Z"
          }
        },
        {
          "label": "Time Zone",
          "value": "time_zone",
          "schema": {
            "type": "string",
            "example": "America/Denver"
          }
        },
        {
          "label": "Bio",
          "value": "bio",
          "schema": {
            "type": "string",
            "example": "Biology major, class of 2027."
          }
        },
        {
          "label": "Permissions",
          "value": "permissions",
          "schema": {
            "type": "object",
            "example": {
              "can_update_name": true,
              "can_update_avatar": true,
              "limit_parent_app_web_access": false
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
