---
title: "Page 9873 Copy Security Group, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/9873-copy-security-group/points/
object: https://jonas-paprotka.de/ref/page/9873-copy-security-group/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/page/9873-copy-security-group/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/"
---

# Page 9873 Copy Security Group, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/9873-copy-security-group/points/

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

## NewAadSecurityGroupName.OnLookup

[Line 42](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L42), trigger.

- [44](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L44) calls `LookupAvailableGroups`

## NewAadSecurityGroupName.OnValidate

[Line 47](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L47), trigger.

- [49](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L49) calls `ValidateGroupName`

## NewWindowsSecurityGroupName.OnLookup

[Line 60](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L60), trigger.

- [62](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L62) calls `LookupAvailableGroups`

## NewWindowsSecurityGroupName.OnValidate

[Line 65](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L65), trigger.

- [67](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L67) calls `ValidateGroupName`

## CopyGroup.OnAction

[Line 93](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L93), trigger.

- [95](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L95) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `Copy`

## OnOpenPage

[Line 102](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L102), trigger.

- [104](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L104) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `IsWindowsAuthentication`

## LookupAvailableGroups

[Line 112](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L112), local.

- [122](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L122) calls [Codeunit 9871 Security Group Impl.](https://jonas-paprotka.de/ref/codeunit/9871-security-group-impl/) `GetDesirableCode`

## ValidateGroupName

[Line 126](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L126), local.

- [133](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L133) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `GetIdByName`
- [134](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L134) calls [Codeunit 9031 Security Group](https://jonas-paprotka.de/ref/codeunit/9031-security-group/) `ValidateGroupId`
- [135](https://jonas-paprotka.de/ref/page/9873-copy-security-group/source/#L135) calls [Codeunit 9871 Security Group Impl.](https://jonas-paprotka.de/ref/codeunit/9871-security-group-impl/) `GetDesirableCode`

## Source

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

JOP-AL, 2026-11-20.
