---
title: "SQL-037: clsMenuSecurityUser"
summary: Update statement for clsMenuSecurityUser.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Menu
reference_type: package
---

# SQL-037: clsMenuSecurityUser

Updates an existing menu security user record in `MENU_SECURITY_USER`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-037 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | `clsMenuSecurityUser` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` / `AfterUpdate` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:SecurityGroupTxt` | Input | String** | 255 | Security group text bound from `SecurityGroupTxt`. |
| `:MenuUser` | Input | String** | 30 | User login bound from `MenuUser`. |
| `:MenuUserID` | Input | String** | 11 | Employee ID bound from `m_MenuUserID`. |
| `:MenuSecurityUserSeq` | Input | Decimal** | N/A | WHERE key bound from `MyCriteria.MenuSecurityUserSeq`. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [MENU_SECURITY_USER](../database-tables.md#menu-security-user) | UPDATE | `SECURITY_GROUP_TXT`, `MENU_USER`, `MENU_USER_EMPLID` (WHERE `MENU_SECURITY_USER_SEQ_NUM`) |

## Sample SQL

```sql
Update MENU_SECURITY_USER
Set SECURITY_GROUP_TXT = :SecurityGroupTxt,
    MENU_USER = :MenuUser,
    MENU_USER_EMPLID = :MenuUserID
Where MENU_SECURITY_USER.MENU_SECURITY_USER_SEQ_NUM = :MenuSecurityUserSeq
```

## Operations and processes
- [Menu authorization data lookup](../operations/menu-authorization-data-lookup.md)


## Business rules
- [BR-MNU-02: DML row-count enforcement](../business-rules.md#br-mnu-02-dml-row-count-enforcement)


> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with `**` could not be confirmed; treat as unknown until verified.

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