Main user repository table containing individual users and user groups.
This is the main repository of all users in Dawiso. It stores every information we keep about users - their basic attributes along with references to Role_Id that links to the APP_Role table to show what role they have. The table also tracks whether users is an individual or it it is a group through the Is_Group flag - when this is set, it means the record represents a user group rather than an individual user. The relationship to which user groups users belongs to is handled in the APP_User_In_Group table.
Columns
| # | Column | Data Type | Nullable | PK | Identity | Computed | Collation |
|---|
| 1 | User_Id | int | No | Yes | Yes | No | |
| 2 | Name | nvarchar | No | No | No | No | Czech_CI_AS |
| 3 | Email | varchar | Yes | No | No | No | Czech_CI_AS |
| 4 | Is_Group | bit | No | No | No | No | |
| 5 | Description | nvarchar | Yes | No | No | No | Czech_CI_AS |
| 6 | Creator_Id | int | Yes | No | No | No | |
| 7 | Created | datetime | Yes | No | No | No | |
| 8 | First_Name | nvarchar | Yes | No | No | No | Czech_CI_AS |
| 9 | Last_Name | nvarchar | Yes | No | No | No | Czech_CI_AS |
| 10 | Phone | nvarchar | Yes | No | No | No | Czech_CI_AS |
| 11 | Created_By | int | No | No | No | No | |
| 12 | Is_Deleted | bit | No | No | No | No | |
| 13 | Login | nvarchar | Yes | No | No | No | Czech_CI_AS |
| 14 | Role_Id | int | Yes | No | No | No | |
Referenced By
Is Data Source For
| View | Columns |
|---|
| Change_Log | User_Id |
| Logs_General | Login |
| Object_User | Name, Login |
| Relation | Login |
| Space | Login |
| User | Name, Login, Created, Description, Last_Name, User_Id, Phone, Is_Group, Is_Deleted, Role_Id, Email, First_Name |
| User_roles_in_spaces | Name, Login, Created, Description, User_Id, Is_Group, Is_Deleted, Email |
| User_Space | Login |
| User_Space_Application | Login |
| User_Space_Permissions | Name, Login, Created, Description, User_Id, Is_Group, Is_Deleted, Email |