> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetUserAttributes()

> Update the attributes Encore uses to pick offers for the identified player.

Merges attributes for the current player. Every field is on [`UserAttributes`](https://docs.encorekit.com/publishers/unity/sdk-reference/user-attributes).

## Signature

```csharp theme={null}
public static void SetUserAttributes(UserAttributes attributes)
```

## Parameters

| Name | Type | Description |
| - | - | - |
| `attributes` | [`UserAttributes`](https://docs.encorekit.com/publishers/unity/sdk-reference/user-attributes) | The fields to set. An object with no fields set changes nothing |

## Example

```csharp theme={null}
Encore.SetUserAttributes(new UserAttributes { SubscriptionTier = "pro" });
```

## Notes

* Throws `ArgumentNullException` when `attributes` is null.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.