---
title: "XmlPort 9001 Export/Import Security Groups, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/points/
object: https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# XmlPort 9001 Export/Import Security Groups, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/points/

4 procedures and triggers with a step in src/System Application/App/Security Groups/src/ExportImportSecurityGroups.XmlPort.al, in source order, read from the text, not from a run.

## OnBeforePassVariable

[Line 31](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L31), trigger.

- [33](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L33) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `GetId`

## OnAfterAssignVariable

[Line 36](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L36), trigger.

- [38](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L38) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `ValidateGroupId`

## OnBeforeInsertRecord

[Line 65](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L65), trigger.

- [67](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L67) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `GetGroupUserSecurityId`

## OnBeforeInsertRecord

[Line 76](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L76), trigger.

- [79](https://jonas-paprotka.de/ref/xmlport/9001-export-import-security-groups/source/#L79) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `Create`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
