User profiles lets you choose a specific table where data about your users (Name, Email, Image etc) lives. When a user profiles table is set, you can use that data in lots of different ways.
By default, no user profile table is set. To set one, create a new table with columns for Name, Email, and Photo. You can add more later, depending on the properties of your users.
Next, open your app's menu and click 'Sign In'. The right panel will now show User Profile settings. Choose the table with your users and connect the
Image to the correct columns.
A user can have many more properties than Name, Email & Photo. These don't have to show in the app, but can be used in many different ways. Below are some basic examples 👇
Let's say you wanted to give users different levels of access in your app. For example, editors and users. Editors can edit & delete items whereas users can only view items.
You can achieve this by creating a new column in your users table called (for example) 'Access Level'. Then in this column you can put 'Editor' or 'Viewer' for each user.
Next, you can add a condition on editing which allows only users with 'Editor' in the Access Level column to be able to edit items.
You could also add properties to your User Table which could be used to hide & show components. In this way, you would be able to show some content to some users and hide it from others.
Instead of using text based conditions, you could create a TRUE or FALSE column. If a user has bought a subscription to your app, you could make this column TRUE and if they haven't, leave it FALSE.
Next, you could set visibility conditions on some of your components using this column. This way, you could hide 'premium' content in your app to free users and unlock it for paying customers.
You can also use User Profile data in computed columns like the Template Column. For example, you could create a message that welcomed the user and referred to them by name.
Now that you understand User Profiles, checkout our guide to Roles – a way to assign different roles to users and build your app around those roles. 👇
When a user clicks on their profile image in the app menu, they will be taken to their user profile screen. You can configure this screen with components to show and allow the user to edit information.