---
title: "ProfileManager"
description: "Parsed `profile` REST response: id, name, last name, gender, photo, time zone, admin flag."
canonical_url: "https://bitrix24.github.io/b24jssdk/docs/working-with-the-rest-api/helper-profile-manager"
last_updated: "2026-08-25"
---
# ProfileManager

> Parsed `profile` REST response: id, name, last name, gender, photo, time zone, admin flag.

`ProfileManager`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} wraps the response of the `profile` REST method. Created by [`B24HelperManager.loadData`](https://bitrix24.github.io/b24jssdk/raw/docs/working-with-the-rest-api/helper.md#loaddata) when `LoadDataType.Profile` is requested; reachable through [`B24HelperManager.profileInfo`](https://bitrix24.github.io/b24jssdk/raw/docs/working-with-the-rest-api/helper.md#profileinfo--appinfo--paymentinfo--licenseinfo--currency--appoptions--useroptions).

## Usage

```ts
import { useB24Helper, LoadDataType } from '@bitrix24/b24jssdk'

const { initB24Helper, getB24Helper } = useB24Helper()
await initB24Helper($b24, [LoadDataType.Profile])

const profile = getB24Helper().profileInfo.data
console.log(profile.id, profile.name, profile.lastName, profile.isAdmin)
```

## Getter `data`

```ts-type
get data(): TypeUser
```

Returns the typed profile snapshot. Throws `'ProfileManager.data not initialized'`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} if `loadData` has not been called yet.

### `TypeUser` Fields

| Field | Type | Description |
| --- | --- | --- |
| `id` | `null \| number`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | User identifier. |
| `isAdmin` | `boolean`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | `true` if the user has admin rights on the portal. |
| `name` | `null \| string`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | First name. |
| `lastName` | `null \| string`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | Last name. |
| `gender` | `'M' \| 'F' \| ''`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | `'M' / 'F' / ''` (no value). |
| `photo` | `null \| string`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | Profile photo URL. |
| `TimeZone` | `null \| string`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | IANA time zone (e.g. `Europe/Moscow`). |
| `TimeZoneOffset` | `null \| number`{className="language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight" language="ts-type" style=""} | Offset in seconds. |

## Sitemap

See the full [sitemap](/b24jssdk/sitemap.md) for all pages.
