--- title: "Guest users" slug: "base-guest-user" tags: ["Release 26.3.0", "Guest User Accounts", "Access Permissions"] updated: 2026-07-13T14:03:48Z published: 2026-07-13T14:03:48Z canonical: "docs.lobstersoftware.com/base-guest-user" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Guest users *See also:* [Users](/v1/docs/en/base-user) > [!NOTE] > What are guest users used for? > > **Lobster Data Platform** creates accounts for [Guest users](/v1/docs/en/base-guest-user) automatically in most cases (see [Create guest user](/v1/docs/en/base-create-guest-user-actor)). This gives users low-threshold **access without authentication** to **selected content or functions**, limited in time or scope as needed. > > In logistics, (end) recipients primarily use [Guest users](/v1/docs/en/base-guest-user) accounts for *shipment tracking*. This gives them access without being set up as full [Users](/v1/docs/en/base-user) of the **Lobster Data Platform**. You find the [Guest users](/v1/docs/en/base-guest-user) menu item in the [Main menu](/v1/docs/en/gui-main-menu) under **Administration** > **Accounts**, provided you have the required permissions. It opens an overview for the **Guest user** (`GuestUser`) entity type by default, also called a guest user account. - **View name:** `de.lobster.scm.base.security.guest::GuestUser|listDetailsWindow` - **Menu node name:** `admin/accounts/guestUserOverview` The permissions for the node **Administration** > **Accounts** > **Guest users** (`administration/accounts/guestUser`) control access to [Guest users](/v1/docs/en/base-guest-user). - The [Guest users](/v1/docs/en/base-guest-user) menu item only appears if the **permission for Show** (`show`) is available for [Guest users](/v1/docs/en/base-guest-user). - Access to [Guest users](/v1/docs/en/base-guest-user) is generally subject to owner restrictions for the [Company of session](/v1/docs/en/base-session-company-account-value). - The permissions of the [Role of session](/v1/docs/en/base-session-role-value) therefore apply only to [Guest users](/v1/docs/en/base-guest-user) for which the [Company of session](/v1/docs/en/base-session-company-account-value) is the owner. This also applies when the [Company of session](/v1/docs/en/base-session-company-account-value) is the recipient of a corresponding [Company authorizations](/v1/docs/en/base-company-release). A guest user account enables a **Lobster Data Platform** session to be set up **without explicit authentication**. It is then considered a [User of session](/v1/docs/en/base-session-user-value) within the session. --- **NOTE:** When [Guest users](/v1/docs/en/base-guest-user) perform write accesses to entities, the system enters the **negative value** of the account's **ID** (`id`) in the **Creator** (`creatorId`) or **Last modified by** (`lastModifierId`) field. This distinguishes references to [Guest users](/v1/docs/en/base-guest-user) from those to [Users](/v1/docs/en/base-user). --- > [!CAUTION] > **CAUTION****:** > > [Guest users](/v1/docs/en/base-guest-user) are a potential security risk. They allow access to the **Lobster Data Platform** **without explicit authentication**. In addition, they are typically provisioned automatically, without an administrator approving them. > > Control this unverified access strictly, using the following methods: > > 1. [Guest users](/v1/docs/en/base-guest-user) should only have access to highly restrictive [Roles](/v1/docs/en/base-role) that only grant the minimum scope of permissions for the specific purpose. > 2. If needed, configure additional functional restrictions for [Guest users](/v1/docs/en/base-guest-user) by evaluating a [Check type](/v1/docs/en/core-check-type-rule) for the [User of session](/v1/docs/en/base-session-user-value), for example in [Association criteria](/v1/docs/en/core-association-criteria) or [Event handling](/v1/docs/en/administration-designer-workflow-action-event-handler-configuration). > 3. Limit the use of guest user accounts to a time window or a maximum number of logins using the account properties (see below). > 4. With specific *guest user restrictions*, you control access to **specific entities** for **individual accounts** more precisely than for [Users](/v1/docs/en/base-user) (see [Create guest user](/v1/docs/en/base-create-guest-user-actor)). --- The following table lists the main systematic differences for [Guest users](/v1/docs/en/base-guest-user) and [Users](/v1/docs/en/base-user): | Subject | [Guest users](/v1/docs/en/base-guest-user) | [Users](/v1/docs/en/base-user) | | --- | --- | --- | | **Identification** | **ID** (`id`)/**Login token** (`loginToken`) | **ID** (`id`) / **Username** (`username`) | | **References in entity attributes** | **Negative value** of the **ID** (`id`) | **ID** (`id`) | | **Contact details** | **E-mail address** (`emailAddress`) **only**→ *required* | Complete address (see [Addresses](/v1/docs/en/base-address))→ **E-mail** as optional communication information | | **Authentication** | **Not required** | Required | | [Role of session](/v1/docs/en/base-session-role-value) | *Unique* **Role** (`role`) as a *required field*→ **no selection** at login | Selection at login, if assignment is *ambiguous* | | [Company of session](/v1/docs/en/base-session-company-account-value) | *Unique* **Company** (`company`) as a *required field→* **no selection** at login | Selection at login, if assignment is *ambiguous* | | **Duration of the account** | **Optionally** limited by **Valid to** (`validTo`) | Unlimited (*password expiry date only*) | | **Max. logins** | **Optionally** limited by **Max. logins** (`maxLogins`) | Unlimited | | [Custom overviews](/v1/docs/en/administration-designer-client-preferences-overview) | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(3).svg) *not provided* | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/check(1).svg) optionally available | | [Input forms](/v1/docs/en/base-entity-form) | *![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(3).svg) only default* | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/check(1).svg) individually configurable | | **Custom data** | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/check(1).svg) **optional** | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(3).svg) *not provided* | | **Individual access control** | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/check(1).svg) *WhiteListRestriction*, *OnlySelfCreatedRestriction*→Details see [Create guest user](/v1/docs/en/base-create-guest-user-actor) | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(3).svg) *not provided* | The interactive administration for [Guest users](/v1/docs/en/base-guest-user) uses a combined view (`listDetailsWindow`) by default. Open it via the [Guest users](/v1/docs/en/base-guest-user) menu item in the [Main menu](/v1/docs/en/gui-main-menu). The following screenshot shows the default *ribbon* (for a role with all relevant permissions), including the default input form with the details of the guest user selected in the list area (at the bottom). ![images/download/attachments/201682427/image-2025-6-2_19-21-16-version-1-modificationdate-1748884876106-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-6-2_19-21-16-version-1-modificationdate-1748884876106-api-v2.png) ## Special features in the ribbon In addition to the generic *ribbon buttons* (**New**, **Delete**, etc.), the main category (**Common**) visible in the screenshot also contains specific *ribbon buttons* for [Guest users](/v1/docs/en/base-guest-user): | Sub category | Ribbon button | Description | | --- | --- | --- | | **Custom data** | ![images/download/attachments/201682427/image-2025-6-2_19-21-36-version-1-modificationdate-1748884896480-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-6-2_19-21-36-version-1-modificationdate-1748884896480-api-v2.png) | The **Edit** *ribbon button* (in the **Custom data** subcategory) opens a simple XML editor. Use it to view or edit custom content for a guest user account selected in the list area in the **Custom data** (`customData`) field. ![images/download/attachments/201682427/image-2025-6-2_16-52-24-version-1-modificationdate-1748875943730-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-6-2_16-52-24-version-1-modificationdate-1748875943730-api-v2.png) In the example, the **Custom data** (`customData`) field contains a **Client object** with two fields. One field (`randomToken`) holds a randomly generated string from a [Random text token](/v1/docs/en/core-random-token-resolver) resolver. The other (`created`) records the creation time as a **Date and time** value. Typically, such content is provisioned automatically, often by the same mechanism that creates the entire guest user account. | | **Login history** | ![images/download/attachments/201682427/image-2025-6-2_19-21-51-version-1-modificationdate-1748884911167-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-6-2_19-21-51-version-1-modificationdate-1748884911167-api-v2.png) | The **Show** *ribbon button* opens a modal full-screen window (see [Login history](/v1/docs/en/base-login-log)) within the current view. It lists the login history of a guest user selected in the list area. **NOTE:** Unlike for [Users](/v1/docs/en/base-user), this function is **not** linked to a dedicated permission for [Guest users](/v1/docs/en/base-guest-user). | ## Contents of the default input form The data input form provided as default for [Guest users](/v1/docs/en/base-guest-user) maps the contents of the data structure relevant for direct interactive maintenance for [Guest users](/v1/docs/en/base-guest-user) using [Form elements](/v1/docs/en/fre-form-elements). | Field | Data field path | Example values | Contents | | --- | --- | --- | --- | | **Active** | `active` | `$true (Boolean)` | The **Active** checkbox must be selected so that a guest user account can log in to a session. | | **Login token** | `loginToken` | "b017f3e8-ec62-4e2b-be24-2bcac7e8d49e" | The character string assigned as the **Login token** is typically generated randomly. In the context of the input form, this is made possible by the [Button](/v1/docs/en/fre-button-vo) with the key symbol (tooltip: **Generate**) to the right of the input field **on request**. Alternatively, enter a character string directly instead of generating a login token. When you click **Save**, the system checks whether the specified **Login token** is unique. It refuses to update or change a guest user account if the string is already in use. If you create a new guest user account as a copy of an existing one, replace the copied login token before saving. The **Login token** (required field) is the key that identifies [Guest users](/v1/docs/en/base-guest-user) at login. If it is not provided via [URL parameters](/v1/docs/en/common-url-parameters) (`loginToken`) when the client starts, the user must enter or paste it in the login screen as the **Login token**. | | **Company** | `company` | "ZWORX Ltd.", **Hidden company** | Single selection for the predefined [Company of session](/v1/docs/en/base-session-company-account-value) for each subsequent login with the **Login token**. | | **NOTE:** The **Hidden company** label appears for companies that are already assigned. They can be removed in the current session but cannot be selected again afterwards. **IMPORTANT:** A guest user account that refers to a **Hidden company** can be changed but not created. This is particularly relevant when copying an existing guest user account. If necessary, remove all hidden companies before saving the copied account. For access to [Companies/Clients](/v1/docs/en/base-company-account) for the **Company** selection for [Guest users](/v1/docs/en/base-guest-user), distinguish the following scenarios by default: - The [Company of session](/v1/docs/en/base-session-company-account-value) and [Companies/Clients](/v1/docs/en/base-company-account) that it owns can **always** be selected. - *Other* [Companies/Clients](/v1/docs/en/base-company-account) can only be selected as **Companies** for [Guest users](/v1/docs/en/base-guest-user) in the context of [Roles](/v1/docs/en/base-role) that take *owner restrictions* into account, if they grant the [Company of session](/v1/docs/en/base-session-company-account-value) permission to **Change** or **Create** *their* [Guest users](/v1/docs/en/base-guest-user) via company authorizations. The **Change** authorization applies to the company selection in guest user accounts that are already saved. The **Create** authorization applies to the company selection for newly created or copied accounts not yet saved. Note that these authorizations are also required to link the *granting* company with a guest user account that the [Company of session](/v1/docs/en/base-session-company-account-value) **itself** owns or should own. Read access does **not** need to be enabled for the [Guest users](/v1/docs/en/base-guest-user) of the *granting* company. The *granting* company itself also does **not** need read access. | | **Role** | `role` | **Guest**, **Hidden role** | Single selection for the [Role of session](/v1/docs/en/base-session-role-value) for each subsequent login with the **Login token**. | | **NOTE:** The label **Hidden role** appears for [Roles](/v1/docs/en/base-role) that are already assigned. They can be removed in the current session but cannot be selected again afterwards. This applies to all [Roles](/v1/docs/en/base-role) that cannot be accessed with the [Role of session](/v1/docs/en/base-session-role-value). **IMPORTANT:** A guest user account that refers to a **Hidden role** can be changed but not created. This is particularly relevant when copying an existing guest user account. If necessary, remove all hidden roles before saving the copied account. | | **Locale** | `locale` | **German** (`de`) | Single selection for the [Current locale](/v1/docs/en/core-current-locale-resolver) for each subsequent login with the **Login token**. | | **E-mail address** | `emailAddress` | "mika.spilikins@doma.in" | A required field for specifying a character string. The system does **not** validate it as an **E-mail address** using [Validators](/v1/docs/en/frevalidators). **NOTE:** Typically, [Guest users](/v1/docs/en/base-guest-user) are created automatically (see [Create guest user](/v1/docs/en/base-create-guest-user-actor)). The **Login token** is generated and sent to the specified e-mail address when the account is created. | | **Max. logins** | `maxLogins` | 5 | The **Max. logins** field defines how many times the guest user account can be used to log in to a session. The value `0` means unlimited. | | **Login count** | `loginCount` | 3 | The read-only field **Login count** shows the number of logins already used for the guest user account. Logins are permitted only as long as the **Login count** has not reached the limit (>0) for **Max. logins**. You can adjust this limit at any time. | | **Max. concurrent sessions** | `maxConcurrentSessions` | 1 | This setting determines how many **Lobster Data Platform** sessions a guest user may use simultaneously. The system checks this limit at each login attempt. If a user would exceed the limit with an additional session, the new session is only created if the user agrees to log out of an existing one. **NOTE:** The input is limited to values >0. The default value is `1`. | | **Valid to** | `validTo` | `22.05.2025 22:00 (UTC)` (`DateTime`) | Use the **Valid to** field to limit the duration of the guest user account. Set an absolute point in time as **Date and time** (`DateTime`). After that point, no new login is permitted for the **Login token**. If you leave this field empty, the **Login token** can be used without a **time** limit. | ## Guest user login Typically, [Guest users](/v1/docs/en/base-guest-user) receive access to the **Lobster Data Platform** via [E-mails](/v1/docs/en/administration-system-mail) with a link containing the **Login token** as [URL parameters](/v1/docs/en/common-url-parameters), which could look like this, for example: - `https://platform.doma.in?loginToken=b017f3e8-ec62-4e2b-be24-2bcac7e8d49e` As of version 26.3.0, the **Login token** also enables direct links to a log in the DataCockpit. Such a link signs the guest user in and opens the log of the specified job directly: - `https://platform.doma.in/DataCockpit/logs/<JobNumber>?loginToken=<Login-Token>` **NOTE:** For details on the link format and security notes, see [Log search](/v1/docs/en/datacockpit-log-search). Alternatively, a guest user login can also be carried out interactively: | Starting from the default login (for [Users](/v1/docs/en/base-user)), open a context menu via the cogwheel symbol (top right). Select the **Guest login** menu item to switch to the login for [Guest users](/v1/docs/en/base-guest-user) (see below). The same context menu lets you switch back to the [Users](/v1/docs/en/base-user) login. | ![images/download/attachments/201682427/image-2025-6-2_19-23-21-version-1-modificationdate-1748885000757-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-6-2_19-23-21-version-1-modificationdate-1748885000757-api-v2.png) | | --- | --- | | For the [Guest users](/v1/docs/en/base-guest-user) login, only the **Login token** is required. Enter or paste it into the text field to log in. The string must match the value in the **Login token** field exactly (case-sensitive) for an active guest user account. Whether the login is permitted may depend on other account settings (see table above). | ![images/download/attachments/201682427/image-2025-6-2_19-23-54-version-1-modificationdate-1748885033951-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-6-2_19-23-54-version-1-modificationdate-1748885033951-api-v2.png) | ## Configuration example In the following example, guest user accounts are used to grant limited read access to specific shipments. Each guest user account can define individual restrictions using the following parameters: - Shipments are listed only if modified within a specific time horizon before the current time. - A filter condition for the text attribute **Plant** defines which shipments are relevant for the guest user. - Additional visibility restrictions result from the company assigned to the guest user account, via ownership, involvement, and [Effective authorizations](/v1/docs/en/administration-accounts-affected-company-release). The guest users are assigned a role that grants only the following permissions: - Business objects / Shipments / Read - Business objects / Shipments / Show details A special shipment overview is also configured (see [Custom overviews](/v1/docs/en/administration-designer-client-preferences-overview)). Its condition must evaluate the parameters per guest user account. These parameters are stored as **Custom data** in the guest user account. You define them in a portal that opens from the guest user overview via a ribbon button (command **Portals > Open portal**), with a single selection identifying the target guest user: ![images/download/attachments/201682427/image2019-6-14_13-10-41-version-1-modificationdate-1748855757231-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2019-6-14_13-10-41-version-1-modificationdate-1748855757231-api-v2.png) - When the portal opens, data from the selected guest user account is passed automatically if the form design includes a container with the data field `loadedItem`. In this example, the container holds the elements **ID** (data field: `id`), **Login token** (`loginToken`), and **E-mail** (`emailAddress`). - Below, a filter for **Plant** (data field: `PLANT_FILTER`) is defined using [Combobox](/v1/docs/en/fre-combo-box-vo) (with key values `A120`, `A121`, `A125`, `A127`, and `A12_`). The selected value is compared by LIKE against the text attribute **Plant** (`t_PLANT.value.text`) in the custom overview condition. - A date value for **Modified as of** (data field: `MINDATE`) defines the time horizon. The custom overview condition compares it against the `lastModified` timestamp using a **Greater or equal** constraint. - Both filter criteria are grouped in a container `filters` (not visible in the screenshot) to simplify handling in further configurations (see below). - Clicking the **Save restrictions** button triggers a [Custom action event](/v1/docs/en/core-custom-action-events) **Guest user – set data** (`SET_GUEST_USER_DATA`) behavior, which starts the following event handler: ![images/download/attachments/201682427/image2019-6-14_13-31-16-version-1-modificationdate-1748855757238-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2019-6-14_13-31-16-version-1-modificationdate-1748855757238-api-v2.png) - Because the **Triggering event** can only be triggered from the portal, the **Validating rule** is limited to a sub-criterion that defines the context for executing the actions ([Company rule](/v1/docs/en/base-company-rule), [Role rule](/v1/docs/en/base-role-rule)). - All **Actions** run in the context of the selected guest user account. The account is resolved from the variable `formData` (of type **Client object**) within a [Execute with](/v1/docs/en/core-with-actor) action. The container `loadedItem`, which represents the selection, is passed to a [Input object (type safe)](/v1/docs/en/core-root-entity-resolver) resolver, which returns the guest user account object. - A [Set value](/v1/docs/en/core-set-value-actor) action then sets the value of the **Custom data** (`customData`) field of the account. It reads the settings from the `filters` container in the `formData` variable. - The [Save changes later](/v1/docs/en/core-merge-later-once-actor) action saves the change to the guest user object, even though the object was only added via [Execute with](/v1/docs/en/core-with-actor). To verify an assignment, click the **Custom data > Edit** button in the guest user overview: ![images/download/attachments/201682427/image2019-6-14_13-44-38-version-1-modificationdate-1748855757242-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2019-6-14_13-44-38-version-1-modificationdate-1748855757242-api-v2.png) In the **Shipment overview (Guest user)** custom overview condition, the filter criteria are included as follows: ![images/download/attachments/201682427/image2019-6-14_13-49-5-version-1-modificationdate-1748855757249-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2019-6-14_13-49-5-version-1-modificationdate-1748855757249-api-v2.png) - The text attribute **Plant** (`t_PLANT.value.Text`) is compared by LIKE against the selection for **Plant** (`PLANT_FILTER`). - The [User of session](/v1/docs/en/base-session-user-value) is identified first, and the corresponding guest user account is then resolved by [Input object (type safe)](/v1/docs/en/core-root-entity-resolver). - The **Custom data** (`customData`) field of the guest user object provides the object (`object`) generated from portal data, including the fields (`property`) PLANT_FILTER (string) and MINDATE (DateTime). - A [Object property](/v1/docs/en/core-property-resolver) resolver reads the value of PLANT_FILTER for matching. - MINDATE is accessed the same way to compare it against the `lastModified` timestamp (below).