> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/admin/user/portal-user/portal-user-centre.md).

# Portal User Centre

The Portal User Centre serves as a comprehensive dashboard for managing customers who are designated as portal users within their customer profiles. This module provides administrators with the ability to oversee, update, and perform actions related to portal users, ensuring seamless interaction and account management for customers utilizing the B2B portal.

### Understanding Portal User Centre

The Portal User Centre serves as a dedicated space for tracking and managing all customers marked as portal users in their respective customer profiles. This includes essential information related to their accounts, login activities, and user status.

#### Portal User Centre Fields

<table><thead><tr><th width="174">Field</th><th>Description</th></tr></thead><tbody><tr><td>Customer</td><td>This field displays the name of the customer associated with the portal user account.</td></tr><tr><td>User Name</td><td>This field shows the username used by the customer to log into the portal.</td></tr><tr><td>Account #</td><td> This field displays the unique portal account number associated with the customer.</td></tr><tr><td>Portal Email</td><td>This field indicates the email address used for portal access.</td></tr><tr><td>Invitation Email</td><td>This field shows the email address to which the portal invitation was sent.</td></tr><tr><td>Invite Pending?</td><td>This field indicates whether the portal invitation is still awaiting acceptance. (Yes/No)</td></tr><tr><td>Currency</td><td>This field shows the default currency associated with the customer account.</td></tr><tr><td>Customer Email</td><td>This field shows the primary email address associated with the customer account.</td></tr><tr><td>User Id</td><td>This field shows the unique ID associated with the portal user.</td></tr><tr><td>Is Active?</td><td>This field indicates whether the portal user’s account is active.</td></tr><tr><td>Last login attempt?</td><td>This field displays the date and time of the most recent login attempt.</td></tr><tr><td>Create Datetime</td><td>This field displays the date and time the portal user account was created.</td></tr><tr><td>Created By</td><td>This field lists the name of the user that created the portal user record.</td></tr><tr><td>Modified Datetime</td><td>This field indicates the date and time when the portal user record was last modified.</td></tr><tr><td>Modified By</td><td>This field displays the name of the user who last updated the portal user record.</td></tr><tr><td>Is Email Verified?</td><td>This field shows whether the portal email address has been verified.</td></tr></tbody></table>

### Header-level Options

* **Validate Portal Accounts**: Allows users to mark the customer portal account emails as validated for the selected customers.
* **Inactive Users:** If enabled, it shows the list of users that are pending verification.
* **Advance Search:** Allows users to filter customer portal records using specific search criteria. Select the required **Column Name**, choose an **Operator** (such as Contains), and enter the corresponding value. Click **Find** to retrieve matching records. You can also use **Save as Query** to save the search criteria for future use or click **Reset** to clear the selected filters.
* **Portal Access Expression:** Allows users to configure the starting page displayed when a customer logs in to the B2B Customer Portal.

To configure the starting page:

1. Click **Portal Access Expression** to open the JS Code Editor.&#x20;

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FG9dvpecslo9ncjaY8osE%2Fimage.png?alt=media&amp;token=8c1a57c1-4e33-440d-b078-6ea6040ebda3" alt=""><figcaption></figcaption></figure>

2. In the editor, locate the **B2B Customer Portal** section. Configure the `start_page` property with the required landing page. For example, set `start_page: "B2BCustomerInvoices"` to open the Invoices page.
3. Click **Save** in the JS Code Editor to save the changes.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2F8Dx3kFcDNp6tiwzy5oHj%2Fimage.png?alt=media&amp;token=b7843bc0-7a75-44d7-998e-f916d4fdedb6" alt=""><figcaption></figcaption></figure>

4. Go to **Menu → Sales → Customer Section → Customer Portal Invitation** and select the required customer record.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FkOxiA5ACV1Y6CUE9XnQv%2Fimage.png?alt=media&amp;token=046c0e13-3382-4fe6-9467-4cafdd2414cd" alt=""><figcaption></figcaption></figure>

5. Click the **Options** menu and select **Send Invitation**. Complete the [standard invitation process](https://docs.xorosoft.com/xoroerp-1/b2b/b2b-portal-account-login.md#with-the-invitation-link).

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FX9ARS66Q3au5Y9goumm0%2Fimage.png?alt=media&amp;token=ca0d4ebb-abb8-4b1c-b83d-47c363d7c9c8" alt=""><figcaption></figcaption></figure>

6. Log in to the B2B Customer Portal using the respective customer's account. The configured page will open as the starting page.

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2FBhfGcFf35798q39LRd7e%2Fimage.png?alt=media&amp;token=46dc45db-b3d0-4a1d-b0ef-9cb6f972edba" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/xoroerp-1/admin/user/portal-user/portal-user-centre.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
