Users

What is a user?

A user is anyone who logs into your application you build. This can consist of your customers or even employees of your corporation.

Benefits of using users

Having users access is the single best way to secure your application and has many benefits.

  • Only show records based on who created them.

  • Only show records based on values from the logged in user

  • Restrict access to pages and rows depending on the role the user belongs to. Learn more about Roles here.

  • Track how and when users logged into your app

  • Group your users based on their role at the company

  • And much more.

Getting started with users

Each app comes with a default table called “Users” which can be found in the Data Builder section. The Users table comes with four fields which can’t be deleted, but can be renamed.

  • Name

  • Email

  • Password

  • Status

  • Role

These fields serve a specific purpose in your app, we’ll go over each and identify how and where its used.

Name field is used to identify your user in the users table. This is a basic text field and has the same rules as all text fields. Click here for more about Text Fields.

Email is used as the primary method for users to login to your app. This value must be unique.

Status field is used in conjunction with the Login Component. This field give you the flexibility to determine which users are allowed to login and which can’t. You can set these restrictions on the component level.

Password is used to set the password for your users logging into your app. You can password policies as to what this password must contain. Password policy is not applied in the builder, only when using the signup component.

Role is how you assign which group this user belongs to. Roles enable you to restrict access based on role of the user. Read more about roles here.

Adding users

Users can be added in several ways, depending on your use case.

  • Builder

  • Signup component

  • Form component

Adding users in the builder

To add a user from within the builder just select the users table and click “Add New Record.” This works similarly to how you would add a record in any other table.

Adding users via signup component

Inside the page builder there is a signup component that can be added anywhere you wish to give users ability to signup. Learn more about the signup component here.

Adding users via forms

Since users are technically a record like any other, you can add users via a regular form. This would work similarly to Signup component, but the signup component has additional features used for auto logging users in after they signup.

Editing users

Users can be edited in several ways, depending on your use case.

  • Builder

  • Signup component

  • Form component

Editing users in the builder

To edit a user from within the builder just select the pencil icon next to the user record you want to edit. 

Editing users via forms

Since users are technically a record like any other, you edit users via a regular form. Click here to learn more about forms. 

Allowing users to edit their own account

Please see the Profile component to learn more how to allow users to customize and edit their own account. Click here to go to the Profile component