# UsersByDivision: Exact Online Users by Division
- Catalog: `ExactOnlineREST`
- Schema: `Users`
- Label: Users by Division
The data in this table is partitioned per value of the `Division` column.
This is a read-only table function. The Exact Online API may not support changing the data or the Invantive UniversalSQL driver for Exact Online does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Exact Online API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `UsersByDivision`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `division` | `int32` | ☐ | | ID of the division to retrieve data for. |
## Columns of Table Function
The columns of the table function `UsersByDivision` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `Account` | `guid` | Account | ☐ | |
| `BirthDate` | `datetime` | Birth Date | ☐ | Birth date. |
| `BirthName` | `varchar2` | Birth Name | ☐ | Birth name. |
| `Created` | `datetime` | Created | ☐ | Creation date. |
| `Creator` | `guid` | Creator | ☐ | User ID of the creator. |
| `CreatorFullName` | `varchar2`(240) | Creator Full Name | ☐ | Name of the creator. |
| `Customer` | `guid` | Customer | ☑ | Customer the user belongs to. |
| `CustomerName` | `varchar2` | Customer Name | ☐ | Name of Customer. |
| `Email` | `varchar2`(128) | Email | ☐ | Email address of the user. |
| `EndDate` | `datetime` | End Date | ☐ | Date after which the user login is disabled. NULL means no enddate. |
| `FirstName` | `varchar2`(64) | First Name | ☐ | First name. |
| `FullName` | `varchar2`(240) | Full Name | ☐ | Full name of the user. |
| `Gender` | `varchar2`(1) | Gender | ☐ | Gender: M=Male, V=Female, O=Unknown. |
| `HasRegisteredForTwoStepVerification` | `char` | Has Registered for 2 Step Verification | ☑ | User has completed registration of Two-Step verification. |
| `HasTwoStepVerification` | `char` | Has 2 Step Verification | ☑ | User must use Two-Step verification to log in. |
| `Initials` | `varchar2`(10) | Initials | ☐ | Initials. |
| `Language` | `varchar2`(30) | Language | ☐ | Language (culture) that is used in Exact Online. |
| `LastLogin` | `datetime` | Last Login | ☐ | The last time this user logged in. |
| `LastName` | `varchar2`(50) | Last Name | ☐ | Last name. |
| `MiddleName` | `varchar2` | Middle Name | ☐ | Middle name. |
| `Mobile` | `varchar2`(25) | Mobile | ☐ | Mobile phone. |
| `Modified` | `datetime` | Modified | ☐ | Last modified date. |
| `Modifier` | `guid` | Modifier | ☐ | User ID of the last modifier. |
| `ModifierFullName` | `varchar2`(240) | Modified Full Name | ☐ | Name of the last modifier. |
| `Nationality` | `varchar2` | Nationality | ☐ | Nationality. |
| `Notes` | `varchar2` | Notes | ☐ | Remarks. |
| `Phone` | `varchar2`(25) | Phone | ☐ | Phone number. |
| `PhoneExtension` | `varchar2`(15) | Phone Extension | ☐ | Phone number extension. |
| `ProfileCode` | `varchar2` | Profile Code | ☐ | Profile code. |
| `StartDate` | `datetime` | Start Date | ☐ | Startdate after which the login is allowed. If the start date is NULL the login is allowed as well. |
| `StartDivision` | `int32` | Start Division | ☑ | Start Division. |
| `Title` | `varchar2` | Title | ☐ | Title. |
| `UserID` | `guid` | User ID | ☑ | Primary key. |
| `UserName` | `varchar2` | User Name | ☐ | Login name of the user. |
| `UserTypesList` | `varchar2` | User Types List | ☐ | Obsolete. |