---
url: https://gudhub.com/docs/gh-elements/user/
title: "User\n                #"
description: "User is a gh element which allows to select the user and display his/her name and profile picture. This item is used for GudHub users. It is used to bind an acc"
lang: uk
updated: 2026-09-08T16:02:14.429Z
---

# User [#](https://gudhub.com/docs/gh-elements/user/#user)

**User** is a gh-element which allows to select the user and display his/her name and profile picture.

## Functional Characteristics [#](https://gudhub.com/docs/gh-elements/user/#functional-characteristics)

This item is used for GudHub users. It is used to bind an account to an item and therefore control access to items. This is useful for teamwork, for example, when assigning tasks.

## Value Format [#](https://gudhub.com/docs/gh-elements/user/#value-format)

This element accepts the application ID as a field value.

Copy

```json
{
    "field_value": "1271"
}
```

## Element Options [#](https://gudhub.com/docs/gh-elements/user/#element-options)

The element options are consists of two settings groups. For the most part, there are standard or familiar options here.

### Field Settings [#](https://gudhub.com/docs/gh-elements/user/#field-settings)

The first group contains all the same default Field Name and Name Space.

![Settings of user element field](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Gh_Elements/gh-elements/user-field-settings.jpg "User field settings")

### Default Value Settings [#](https://gudhub.com/docs/gh-elements/user/#default-value-settings)

This is a group of standard settings that allows to configure the default value.

![Settings of user default value](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Gh_Elements/gh-elements/user-default-value-settings.jpg "User default value settings")

| Name | Description |
| :-- | :-- |
| Use default value | allows to use default value; [details...](#use-default-value) |
| Default value | allows to select the default value from users list; [details...](#default-value) |

#### **Use Default Value** [#](https://gudhub.com/docs/gh-elements/user/#use-default-value)

This is the setting that allows you to use the default value for this element.

#### **Default Value** [#](https://gudhub.com/docs/gh-elements/user/#default-value)

The current element is created to enter the default value.

## Element Style [#](https://gudhub.com/docs/gh-elements/user/#element-style)

Besides the option described [below](#image-size), the user element has a set of [standard settings](https://gudhub.com/docs/understanding-gudhub/gh-elements-structure/setting-overview/) to configure its style and its own unique [interpretation types](#interpretation).

![Style of user element](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Gh_Elements/gh-elements/user-element-style.jpg "User element style")

### Image Size [#](https://gudhub.com/docs/gh-elements/user/#image-size)

Below the general style settings there are one extra option. It allows to select the size of the profile picture.

![General settings and image size of user element](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Gh_Elements/gh-elements/user-general-settings.jpg "User general settings and Image size")

There are four available sizes:

-   64px
-   128px
-   256px
-   100%

## Data Model [#](https://gudhub.com/docs/gh-elements/user/#data-model)

The element data model contains these properties:

Copy

```json
{
    "data_model": {
        "default_field_value": 1547,
        "display_type": "photo_fullname",
        "interpretation": [],
        "photo_size": 64,
        "use_default_value": false,
    }
}
```

| Name | Type | Description |
| :-- | :-- | :-- |
| default\_field\_value | `number` | _contains the default field value_ |
| display\_type | `string` | _contains the type of the element display_ |
| interpretation | `array` | _contains all interpretation types_ |
| photo\_size | `number` | _contains the size of the user photo_ |
| use\_default\_value | `boolean` | _shows whether the default value is used or not_ |

## Filtration [#](https://gudhub.com/docs/gh-elements/user/#filtration)

Since this element has value, user can filter it out.

-   [Equals(or)](https://gudhub.com/docs/core-api/filter/equals/)
-   [Equals(and)](https://gudhub.com/docs/core-api/filter/equals/)
-   [Value](https://gudhub.com/docs/core-api/filter/value/)

## Interpretation [#](https://gudhub.com/docs/gh-elements/user/#interpretation)

The user element has many different interpretation types:

![Types of user element interpretation](https://bitbucket.org/AAtlas/gudhub-documentation/raw/master/Gh_Elements/gh-elements/user-interpretation-types.jpg "User interpretation types")

### Full Name [#](https://gudhub.com/docs/gh-elements/user/#full-name)

The first type allows you to display only the name of the selected user.

### Avatar [#](https://gudhub.com/docs/gh-elements/user/#avatar)

The second interpretation type is opposite to the previous one. It only displays the account picture of the selected user.

### Avatar With Name [#](https://gudhub.com/docs/gh-elements/user/#avatar-with-name)

This type allows the element to be displayed as an account picture and the user name below it.

### Icon [#](https://gudhub.com/docs/gh-elements/user/#icon)

This type does not display user data. The element is displayed as an icon.

### Inline [#](https://gudhub.com/docs/gh-elements/user/#inline)

This type displays the account picture with user name next to it.

### Value [#](https://gudhub.com/docs/gh-elements/user/#value)

The last interpretation type displays the selected value of the element.
