Data Model User
The User data model is automatically added by the Auth module when creating a new project. User accounts are created on it.
You cannot delete or rename the User model itself or the default fields added to it - they are required for other Appmaster Studio functions to work correctly. However, you can use them to build business logic and interface, as well as add new fields to the User.
Default field list
Field | Data Type | Description |
ID | integer | Unique identifier of the object. |
CreatedAt | datetime | When was the object created. |
UpdatedAt | datetime | When was the object last updated. |
DeletedAt | datetime | When was the object deleted. |
Login | Email used as login. | |
First Name | string | First name. |
Last Name | string | Last name. |
Password | password | Password in encrypted format. |
Groups | enumerator array | User groups the users belongs to. |
Active | boolean | If the user is active. |
Confirmed | boolean | If the user was confirmed. |
Confirmation Code | string | Code that can be used to confirm the user. |
Confirmation Code Expires At | datetime | When does the confirmation code expire. |
User Sessions | array[model] | Array of user sessions models |
Business process blocks: Model functions - User
Make User
Create User
Expand User
Patch User
Update User
Delete User
GetOne User
Search User
More details about these blocks - in the section Business logic - Blocks List - Model functions.
Last updated