--- title: "User rule" slug: "base-user-rule" updated: 2026-04-02T13:55:34Z published: 2026-04-02T13:55:34Z canonical: "docs.lobstersoftware.com/base-user-rule" --- > ## 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. # User rule > [!NOTE] > Rule types – Abstract > > **Purpose:** Is considered 'passed' if the [User of session](/v1/docs/en/base-session-user-value) is included in a whitelist that can be statically configured by multiple selection. > > > [!TIP] > > Tooltip > > > > - **Usage**: The rule checks whether the [User of session](/v1/docs/en/base-session-user-value) is included in a statically configurable positive list via multiple selection. > > - **Parameter**: The only parameter is a multiple selection for [Users](/v1/docs/en/base-user), which is used by the rule as a positive list for matching with the [User of session](/v1/docs/en/base-session-user-value). > > - **NOTE:** When configuring, only [Users](/v1/docs/en/base-user) for whom there is at least read access can be selected. ![images/download/attachments/201665936/image-2025-3-28_14-46-53-version-1-modificationdate-1743169613675-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-28_14-46-53-version-1-modificationdate-1743169613675-api-v2.png) A [User rule](/v1/docs/en/base-user-rule) is considered 'passed' if the user (see [Users](/v1/docs/en/base-user)) in the applicable login context (see [User of session](/v1/docs/en/base-session-user-value)) is included in a positive list that can be statically configured via multiple selection. In the following cases, the [User rule](/v1/docs/en/base-user-rule) is always considered as 'failed': - The multiple selection in the configuration does not contain any [Users](/v1/docs/en/base-user). - A guest user (see [Guest users](/v1/docs/en/base-guest-user)) is logged in the current session and the rule is not executed in the context of an [Run as](/v1/docs/en/base-run-as-actor) event action that assigns a 'real' user. ## Configuration The [User rule](/v1/docs/en/base-user-rule) refers to the [User of session](/v1/docs/en/base-session-user-value), which is generally defined by the session, but can be temporarily changed by the [Run as](/v1/docs/en/base-run-as-actor) event action (see also [Session based](/v1/docs/en/orchestration-rules-session)). The *reference object* in the execution context is irrelevant for this rule. | The [User rule](/v1/docs/en/base-user-rule) configuration provides a static multiple selection via a [Multiselect combobox](/v1/docs/en/fre-multi-select-combo-box-vo) with search function, which offers all [Users](/v1/docs/en/base-user) who have at least read access in the context of the configuration for selection. **NOTE:** If there is no read access for a selected user account, a neutralized label will appear for it, indicating that the account is 'hidden' (`hidden`). As long as this entry is not specifically removed, it will remain in the list even if other entries are added or removed. 'Hidden' entries deselected by 'reversing' an existing selection do not reappear in the selection by 'reserving' again. | ![images/download/attachments/201665936/image-2025-3-28_14-47-29-version-1-modificationdate-1743169649986-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-28_14-47-29-version-1-modificationdate-1743169649986-api-v2.png) | | --- | --- |