> For the complete documentation index, see [llms.txt](https://sending-network.gitbook.io/sending.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sending-network.gitbook.io/sending.network/sdk-documentation/unreal-sdk/user.md).

# User

### Get user information

```cpp
getProfile(std::string userId)
```

Parameters:

| Name   | Type   | Description   | Required |
| ------ | ------ | ------------- | -------- |
| userId | string | userId string | true     |

Returns:

| Name        | Type   | Description        |
| ----------- | ------ | ------------------ |
| displayname | string | displayname string |
| avatarUrl   | String | avatarUrl string   |

### Set profile picture

```cpp
setAvatarUrl(std::optional<std::string> avatarUrl)
```

Parameters:

| Name      | Type   | Description         | Required |
| --------- | ------ | ------------------- | -------- |
| avatarUrl | string | profile picture url | true     |

### Set nickname

```cpp
setAvatarUrl(std::optional<std::string> displayName)
```

Parameters:

| Name        | Type   | Description   | Required |
| ----------- | ------ | ------------- | -------- |
| displayName | string | user nickname | true     |
