# CurrentUsers
## Documentation
The user the connection is logged on as, with the company. Each request costs 2 tokens of the daily budget of the company.
- Catalog: `Pipedrive`
- Schema: `Users`
- Primary Keys: `id`
This is a read-only table. The Pipedrive API may not support changing the data or the Invantive UniversalSQL driver for Pipedrive does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Pipedrive API.
## Table Columns
The columns of the table `CurrentUsers` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `access` | `varchar2` | | ☐ | The access. |
| `activated` | `char` | | ☐ | Boolean that indicates whether the user is activated. |
| `active_flag` | `char` | | ☐ | Boolean that indicates whether the user is activated. |
| `company_country` | `varchar2` | | ☐ | The user company country. |
| `company_domain` | `varchar2` | | ☐ | The user company domain. |
| `company_id` | `int64` | | ☐ | The user company ID. |
| `company_industry` | `varchar2` | | ☐ | The user company industry. |
| `company_name` | `varchar2` | | ☐ | The user company name. |
| `created` | `datetime` | | ☐ | The creation date and time of the user. |
| `default_currency` | `varchar2` | | ☐ | The user default currency. |
| `email` | `varchar2` | | ☐ | The user email. |
| `has_created_company` | `char` | | ☐ | Boolean that indicates whether the user has created a company. |
| `icon_url` | `varchar2` | | ☐ | The user icon URL. |
| `id` | `int64` | | ☑ | The user ID. |
| `is_deleted` | `char` | | ☐ | Boolean that indicates whether the user is deleted from the company. |
| `is_you` | `char` | | ☐ | Boolean that indicates if the requested user is the same which is logged in (in this case, always true). |
| `lang` | `int64` | | ☐ | The user language ID. |
| `language_country_code` | `varchar2` | | ☐ | The country code. |
| `language_language_code` | `varchar2` | | ☐ | The language code. |
| `last_login` | `datetime` | | ☐ | The last login date and time of the user. |
| `locale` | `varchar2` | | ☐ | The user locale. |
| `modified` | `datetime` | | ☐ | The last modification date and time of the user. |
| `name` | `varchar2` | | ☐ | The user name. |
| `phone` | `varchar2` | | ☐ | The user phone. |
| `role_id` | `int64` | | ☐ | The ID of the user role. |
| `timezone_name` | `varchar2` | | ☐ | The user timezone name. |
| `timezone_offset` | `varchar2` | | ☐ | The user timezone offset. |
## Foreign Keys
The values of these columns refer to a row of another table.
| Columns | Referenced Table | Referenced Columns | Guarantee |
|---|---|---|---|
| `id` | [[Users-Users\|Users.Users]] | `id` | Declared by the connector, not enforced by the platform |
| `role_id` | [[Users-Roles\|Users.Roles]] | `id` | Declared by the connector, not enforced by the platform |