Edit a user
Edit a user — change the profile, set roles, change marketing preferences and see the logins.
Where: Membership → Users → click a name · /projects/<project>/membership/users/<userId>/edit
Before you start
The user exists — see Add a user.
You need the
membership:updatepermission on users.
Steps
In Users, click the name, for example
ghopper. The user opens with two ids at the top: Contact id — this person (ct_5NLscr55MQTYmGk072vwnw) and one Login id per login (usr_6UMSWzqF7e28l72daFjBaa). Use the login id where a login is asked for, for example the Admin Portal service user. Below are four tabs; the open tab is kept in the address (#roles,#marketing-preferences,#identification).
The user, User tab. On the User tab, change the profile and press Save:
FieldRequiredWhat it doesExampleFirst Name, Last Name
no
Name parts.
Grace,HopperFull Name
no
The full form of the name.
Rear Admiral Grace HopperDisplay Name
no
The name in the users list and the page title.
Grace HopperBirth Date, Gender
no
Profile fields.
—
Company
no
The company of the person.
Acme LabsPhone
no
A phone on the profile.
—
Country, Address, Address 2, City, State / Province, ZIP / Postal code
no
The address.
—

The profile, changed. On the Roles tab, tick the roles and press Save roles. Reset brings back the saved choice. The roles are stored on the person and copied to every login. When the project has AI plans, the tab also has AI plan with Save AI plan.

The Roles tab. On the Marketing preferences tab, choose what the person receives. The Marketing and Transactional tabs list your topics, grouped as in Settings → Communication; each topic has one switch per delivery channel it offers (Email, Push, SMS). A switch saves at once.

The Marketing preferences tab. The Identification tab lists the logins with their type and status. Map an existing login attaches a login to this person by its id (
usr_…) — only for a login that was not linked on its own.
The Identification tab.


Result
After Save on the User tab, the title shows the new display name and the users list shows it too.

A change of the user runs the When updated trigger — see Triggers.
Change or remove it later
Delete — the Delete button at the top: Delete a user.
Block, unblock, verify a login — the user screen has no buttons for this. Use
blockUser/unblockUserfrom code (Block User, Unblock User).
Do it from code
Roles on a login (works today — pass role names, not role ids; an id is accepted but nothing is stored): await norbix.api.membership.assignRolePermissions({ id: 'usr_54bPhijPmABCWtGf30TeZ1', roles: ['Editor'] }). The client setup is on the Membership page. API: Update Contact · Get Contact · Assign Role Permissions · Set Contact Roles · Set Contact Tag Subscription · Map Auth To User
Last updated
Was this helpful?