---
title: _BolPageHeaderPartial
summary: API reference for the _BolPageHeaderPartial partial view.
status: draft
owner: SAIF IT Core Services
last_reviewed: 2026-10-12
library: BolMiddleware
reference_type: package
---

# _BolPageHeaderPartial

Partial view for the top header bar. For external users it shows profile and logoff links whose host depends on the hosting environment name.

## Purpose
- Show profile and logoff links to external users only ([BR-BOLMIDDLEWARE-018](../../business-rules.md#br-bolmiddleware-018-external-profile-and-logoff-links)).

## Context
- Namespace: `BolMiddleware.Pages.Shared`
- Assembly/package: `BolMiddleware`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| Partial view | `Pages/Shared/_BolPageHeaderPartial.cshtml` | Injects `IWebHostEnvironment`; links to `ExternalSecurityMaintenance/frmProfile.aspx` and `PHPortal/Home/Logout` on `account.saif.com` or `account-qa.saif.com`. |

## Behavioral notes
- An environment name containing `prod` selects the production host, so `preprod` matches it too.

## Constraints and usage notes
- Host names are fixed in the view and cannot be configured.

## Sources
- src/BolMiddleware/Pages/Shared/_BolPageHeaderPartial.cshtml
