> For the complete documentation index, see [llms.txt](https://kb.heathen.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/ui-components/set-user-id-label.md).

# Set User Id Label

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Displays the ID of a friend in a text label

```csharp
namespace HeathenEngineering.SteamworksIntegration.UI
```

```csharp
public class ClanProfile : MonoBehaviour
```

## Fields and Attributes

### As Hex

Should the ID be displayed as a Hex value

```csharp
public bool AsHex { get; set; }
```

### User Data

What user is currently applied

```csharp
public UserData UserData { get; set; }
```

## Methods

### Apply

Applies a user to be displayed

```csharp
public void Apply(UserData user)
```
