> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/membership/users/edit.md).

# User details

**Where:** Membership → Users → user · `/projects/<project>/membership/users/<userId>/edit`

{% hint style="info" %}
Screenshot TODO — capture comes from testing-plan area **16-membership**.
{% endhint %}

Opening a user from the list shows the person (the *contact*, id `ct_…`) with their id shown as a copyable button, a **Delete** button, and four tabs. The active tab is kept in the URL hash, so you can link straight to it.

## Tabs

* **User** — the editable profile: Personal Information (First Name, Last Name, Full Name, Display Name, Birth Date, Gender, Company, Phone) and Address (Country, Address, Address 2, City, State / Province, ZIP / Postal code). **Save** stores the changes on the contact.
* **Roles** — a roles picker. Roles are stored on the person and applied to every login they authenticate with. **Save roles** sends the selected roles as their composite ids (for example `pr_4kX9mQvR2tYw7ZbC1dFgHj_nr_7pW2sKvB9qLm3XcT1yRfGh`); **Reset** restores the saved selection.
* **Marketing preferences** — the topics this user receives, split into **Marketing** and **Transactional** tabs. For each topic (tag) you toggle the delivery channels it supports; the topics themselves are defined in [Settings → Communication](/cloud/membership/settings/communication.md).
* **Identification** — the read-only list of logins (email, username, phone, social, service, or guest) with each login's type and status. Below it, **Map an existing login** is a recovery tool: paste a login id (`usr_…`) and press **Map** to attach a login that was not linked automatically.

Deleting the user removes the contact and returns you to the list.

## Use it from code

[Membership → Users](/sdks-and-cli/membership/users.md)

## API reference

Endpoints: [Membership → Users](/api-reference/membership/users.md).
