---
title: "SQL-044: Delete a group membership"
summary: Delete a group membership
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Business.Menu
reference_type: package
---

# SQL-044: Delete a group membership

This statement is the `DeleteSQL` implementation of `clsMenuSecurityUser.Criteria`, executed from `BeforeDelete` against `MENU_SECURITY_USER`. Delete a group membership.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-044 |
| **Operation type** | Delete |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | `[unqualified]`** |
| **Command type** | Text |
| **Business object** | `clsMenuSecurityUser` |
| **Criteria property** | `DeleteSQL` |
| **Lifecycle method** | `BeforeDelete` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:MenuSecurityUserSeq` | Input | Decimal | N/A | Membership row to delete |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_SECURITY_USER](../database-tables.md#menu_security_user) | DELETE | MENU_SECURITY_USER_SEQ_NUM (WHERE) |

## Sample SQL

```sql
-- Delete a group membership
Delete
  MENU_SECURITY_USER
Where
  MENU_SECURITY_USER.MENU_SECURITY_USER_SEQ_NUM = :MenuSecurityUserSeq
```

## Operations and processes

- [Update or delete a maintained object](../operations/op-menu-07-update-delete-maintained-object.md)

## Business rules

- [BR-MENU-020](../business-rules.md#br-menu-020-single-row-write-verification): Single-row write verification
- [BR-MENU-022](../business-rules.md#br-menu-022-delete-returns-object-to-new-state): Delete returns object to new state

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

## Sources
- SAIF.Business.Menu/clsMenuSecurityUser.vb
