---
title: "SQL-MENU-027: Retrieve menu security row"
summary: "Retrieve a menu security row."
status: draft
owner: SAIF documentation team
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-MENU-027: Retrieve menu security row

Retrieve a menu security row.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-MENU-027 |
| **Operation type** | Read |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsMenuSecurity` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:MenuSecuritySeqNum` | Input | Decimal | N/A | Menu-security key. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_SECURITY](../database-tables.md#menusecurity) | SELECT | `MENU_SECURITY_SEQ_NUM`, `MENU_ITEM_SEQ_NUM`, `SECURITY_GROUP_TXT` |

## Sample SQL

```sql
SELECT
  MENU_SECURITY.MENU_SECURITY_SEQ_NUM as MenuSecuritySeqNum,
  MENU_SECURITY.MENU_ITEM_SEQ_NUM as MenuItemSeqNum,
  MENU_SECURITY.SECURITY_GROUP_TXT as SecurityGroup,
  MENU_SECURITY.UPDATE_DATE as UpdateDate,
  MENU_SECURITY.UPDATE_USER as UpdateUser
FROM MENU_SECURITY
WHERE MENU_SECURITY.MENU_SECURITY_SEQ_NUM = :MenuSecuritySeqNum
```

## Operations and processes
- [Maintain a menu item together with its security-group assignments](../operations/maintain-menu-item-security.md)

> **Note:** Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- `SAIF.Business.Menu\clsMenuSecurity.vb`
