Skip to content
MyAppBuilder
StableGuide

Profile and account

Every app with sign-in has a built-in Your account screen at /account. Signed-in users open it by clicking their name in the navigation. It shows who they are and lets them change their name and password and sign out. The User Profile component offers the same inside your own pag

Profile and account

Every app with sign-in has a built-in Your account screen at /account. Signed-in users open it by clicking their name in the navigation. It shows who they are and lets them change their name and password and sign out. The User Profile component offers the same inside your own page layout.

When to use

  • You want users to manage their own name and password without contacting you.
  • A customer portal needs a "My profile" area.

The /account screen

It shows the user's name, email and role, then:

  1. Name — edit and click Save name. The name is used wherever Current user › name appears (greetings, Created by displays, emails).
  2. Change password — enter the current password and a new one (at least 8 characters, letters mixed with numbers or symbols), click Change password. Accounts without a password (magic link or Google) can set one without a current password.
  3. Sign out — ends the session and returns to the home page.

Email addresses and roles cannot be changed by the user. Roles are managed in Users → App users.

The User Profile component

  1. In Build, drag User Profile (Data) onto a page that requires sign-in.
  2. Set a Title, and tick Allow password change and Show sign out as needed.
  3. The Profile block from the Customer portal group is a ready-made card with this component.

When nobody is signed in, the account screen shows "Please sign in first."

Using the signed-in user elsewhere

In any data picker choose Current user › name, email, role or id; in templates write {{user.name}} or {{user.email}}. Typical uses: pre-fill a form's Customer Email field, filter a table to the user's records, personalise an email subject.

Example
Text:   "Welcome back, {{user.name}}"
Form:   Customer Email = Current user › email   (hidden field)
Email:  Subject "Your quote, {{user.name}}"

In the builder preview, these values come from the role and email chosen under Preview as.

Common mistakes

  • Testing in the builder preview. The account screen only displays the simulated user there; saving a name or password works on the staging or live app.
  • Expecting an avatar or extra profile fields. Profiles hold name, email and role only. Store extra details (phone, address) in your own entity with a Customer Email = Current user › email rule.
  • Expecting users to change their email. Not available; a workspace admin can delete the account and add a new one.

Advanced

Endpoints: POST /api/runtime/:projectId/auth/profile { name } (max 80 characters) and …/auth/password { current, next }. Both require an app-user session; builder preview identities are refused.

Related

Was this helpful?