---
id: object/table/6943
type: object
title: Table 6943 "Expense Agent Access Control"
summary: Table 6943 "Expense Agent Access Control" in ExpenseAgent (Microsoft.ExpenseAgent). 5 fields, 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - expenseagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: cbd6d226512869aec3d7a4c576bc6f8a4c15013f9eaea9de538de1da2f0b8723
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/Setup/Tables/ExpenseAgentAccessControl.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/Setup/Tables/ExpenseAgentAccessControl.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9859
object_type: table
object_id: 6943
name: Expense Agent Access Control
namespace: Microsoft.ExpenseAgent
app: ExpenseAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 5
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 4
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6943 "Expense Agent Access Control"

> Table 6943 "Expense Agent Access Control" in ExpenseAgent (Microsoft.ExpenseAgent). 5 fields, 1 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/Setup/Tables/ExpenseAgentAccessControl.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Expense Agent Access Control |
| Access | Internal |
| Extensible | false |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Setup System ID | Guid | Specifies the Expense Agent Setup record this access control belongs to. | TableRelation [Table 6930 "Expense Agent Setup"](../table/6930.md) ("Expense Agent Setup".SystemId); DataClassification SystemMetadata |
| 2 | User Security ID | Guid | Specifies the User Security ID of the user associated with this agent. | TableRelation "User"."User Security ID"; DataClassification SystemMetadata |
| 3 | Authentication Email | Text[250] | Specifies the authentication email address of the user. | FlowField: lookup(User."Authentication Email" where("User Security ID" = field("User Security ID"))); not editable |
| 4 | Can Configure Agent | Boolean | Specifies whether the user can configure this agent. | DataClassification SystemMetadata |
| 5 | Can Work on Behalf | Boolean | Specifies whether the user can work on behalf of other expense users. | DataClassification SystemMetadata |

## Keys

- PK: Setup System ID, User Security ID (clustered)

## Trigger event subscribers

- OnAfterDeleteEvent: [Codeunit 6968 "Expense Audit Subscribers"](../codeunit/6968.md) OnAfterDeleteAccessControl
- OnAfterInsertEvent: [Codeunit 6968 "Expense Audit Subscribers"](../codeunit/6968.md) OnAfterInsertAccessControl
- OnAfterModifyEvent: [Codeunit 6968 "Expense Audit Subscribers"](../codeunit/6968.md) OnAfterModifyAccessControl
- OnAfterRenameEvent: [Codeunit 6968 "Expense Audit Subscribers"](../codeunit/6968.md) OnAfterRenameAccessControl

## Procedures

- `GetByUserSecurityID(UserID: Guid): Boolean`

Plus 1 local procedures.

## Triggers

OnDelete

## Relations

- Setup System ID: TableRelation [Table 6930 "Expense Agent Setup"](../table/6930.md)

## Pages and codeunits on this table

- [Page 6984 "Expense Agent Access Ctrl API"](../page/6984.md) (source table)
- [Page 6995 "Expense Agent Access Ctrl"](../page/6995.md) (source table)

## Recent changes

- 2026-08-04 [#9859 [Master] - Move Expense Agent (Preview) app into BCApps](../../changes/bcapps/9859.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Expense Agent Access Control")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
