---
sidebar:
  hidden: true
title: roboto.domain.users.record
---
## Module Contents

### UserRecord

```python
class roboto.domain.users.record.UserRecord(/, **data: Any)
```

`from roboto import UserRecord`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/users/record.py#L17-L50)

Bases: `pydantic.BaseModel`

A wire-transmissible representation of a user.

**Parameters**

- **data** (`Any`)

**Attributes**

- **UserRecord.is_service_user** (`bool`) = `False`: Whether this is a service user for automated operations.

  Service users can be used to perform actions on behalf of customers. For example, a service user can be associated with a Trigger, which will then invoke its corresponding Action as the service user.

- **UserRecord.is_system_user** (`bool | None`) = `False`: Whether this is a system user for internal platform operations.

- **UserRecord.name** (`str | None`) = `None`: Human-readable display name for the user.

- **UserRecord.notification_channels_enabled** (`dict[roboto.notifications.NotificationChannel, bool]`) = `None`: Mapping of notification channels to their enabled/disabled status.

- **UserRecord.notification_types_enabled** (`dict[roboto.notifications.NotificationType, bool]`) = `None`: Mapping of notification types to their enabled/disabled status.

- **UserRecord.picture_url** (`str | None`) = `None`: URL to the user's profile picture.

- **UserRecord.user_id** (`str`): Unique identifier for the user, typically an email address.

#### UserRecord.is_comment_mentions_enabled()

```python
def is_comment_mentions_enabled() -> bool
```

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/users/record.py#L49-L50)

**Returns**

- `bool`

#### UserRecord.is_email_notifications_enabled()

```python
def is_email_notifications_enabled() -> bool
```

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/domain/users/record.py#L46-L47)

**Returns**

- `bool`
