---
metadata:
  - name: generator
    content: Diplodoc Platform v5.54.2
alternate:
  - https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/objectivec/AMAMutableUserProfile.md
  - https://appmetrica.yandex.by/docs/ru/sdk/ios/analytics/objectivec/AMAMutableUserProfile.md
  - href: en/sdk/ios/analytics/objectivec/AMAMutableUserProfile.md
    type: text/markdown
    title: Markdown version
  - href: ../../../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.by/docs/en/llms.txt

# AMAMutableUserProfile class

The mutable version of the [AMAUserProfile](https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/objectivec/AMAUserProfile.md) class for storing the user profile.

A user profile is a set of user attributes. User profile details are displayed in the AppMetrica report on user profiles.

The instance of the `AMAMutableUserProfile` class should be passed to the AppMetrica server using the [reportUserProfile](https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/objectivec/AMAAppMetrica.md#method_reportUserProfile) method of the [AMAAppMetrica](https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/objectivec/AMAAppMetrica.md) class. Use methods of the [AMAProfileAttribute](https://appmetrica.yandex.by/docs/en/sdk/ios/analytics/objectivec/AMAProfileAttribute.md) class to create user attributes.

## Instance methods {#instance_summary}

#|
|| -[apply:](#method_apply) | Updates a single attribute of the user profile. ||
|| -[applyFromArray:](#method_applyFromArray) | Updates several attributes of the user profile. ||
|#

## Method descriptions {#method_detail}

### -apply: {#method_apply}

```objectivec translate=no
- (void)apply:(AMAUserProfileUpdate *)update
```

Updates a single attribute of the user profile.

**Parameters:**

#|
|| `update` | The `AMAUserProfileUpdate` class instance. ||
|#

### -applyFromArray: {#method_applyFromArray}

```objectivec translate=no
- (void)applyFromArray:(NSArray<AMAUserProfileUpdate *>*)updatesArray
```

Updates several attributes of the user profile.

**Parameters:**

#|
|| `updatesArray` | Array of `AMAUserProfileUpdate` instances. ||
|#
