# Get user

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

## Path

[session\_module\_root]/user/{directory}/{id}

## Method

GET

## Description

This returns all sessions that a user (identified by `{directory}` and `{id}`) has as a JSON array.

```
[
{
  "UserDirectory": "<user directory>",
  "UserId": "<unique user ID>",
  "Attributes":
    [ { "<Attribute1>": "<value1a>" },
        { "<Attribute1>": "<value1b>" }, [attributes are not unique]
        { "<Attribute2>": "" }, [value can be empty]
        { "<Attribute3>": "<value3>" },
        ...
    ] [optional],
  "SessionId": "<session ID>"
}
]
```