> This page is for Product Documentation.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.navipartner.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.navipartner.com/_mcp/server.

# Member Profile

## Purpose

The page is used to set up rules for which **membership cards** may be used in a **Speedgate**. The profile consists of a header and a number of lines that control:

* which membership types are allowed
* whether guests may be included
* whether member data and photos should be returned in an API call (Ticket Scanner App/Gate software)
* which admission codes apply
* any day and time restrictions

## Header fields

* **Code**
  * Unique code for the profile.
* **Description**
  * Description of the profile.
* **Validation Mode**
  * **Strict (reject undefined)**: cards without a matching rule are rejected.
  * The field is read-only on the page.

## Line fields

Each line defines a rule for a membership card.

* **Rule Type**
  * `Allow` or `Reject`
  * Automatically created as `Allow`
* **Description**
  * Description of the line
* **Membership Code**
  * Which membership type the rule applies to
  * Blank = applies to all
* **Allow Guests**
  * The member may bring guests
* **Include Member Information**
  * Return member information in the API response
* **Include Member Photo**
  * Return member photo in the API response
* **Item No.**
  * Limits the rule to a specific ticket product
* **Admission Code**
  * Specific admission/access point
  * Blank = use the default from the ticket setup
* **Calendar Code**
  * Calendar that controls which days access is allowed
* **Allow From Time**
  * The time from which access is allowed
* **Allow Until Time**
  * The time until which access is allowed

## How to use the page

1. Create a new profile.
2. Fill in **Code** and **Description**.
3. Create one or more lines.
4. Select the relevant **Membership Code**.
5. Optionally set:
   * **Admission Code**
   * **Calendar Code**
   * **Allow From/Until Time**
   * **Allow Guests**
6. Link the profile in **Speedgate Setup** as the default profile or on a specific scanner.
7. Test with valid and invalid membership cards.

## How validation works

When a membership card is scanned, the system typically checks:

* whether the card exists
* whether the card is not blocked
* whether the membership is valid
* whether a suitable profile line exists
* whether the date, calendar, and time match
* whether the admission code matches

If everything matches, access is granted.

## Important rules and pitfalls

* **Allow From Time** and **Allow Until Time** may only be used on `Allow` lines.
  * If they are used on a `Reject` line, an error will occur.
* A profile in **Strict** mode without any lines will effectively reject all cards.
* **Validation Mode** cannot be changed directly on the page.
* New lines are numbered automatically.
* When the profile is deleted, its lines are also deleted.

## Typical use

Use the page when you want to control member access in Speedgate, for example:

* specific memberships may enter
* access only on specific days
* access only within a specific time period
* guests may or may not be included
* member information or photo should be shown on scan through the API