Codeunit 9871 Security Group Impl.

System Application, System.Security.AccessControl

src/System Application/App/Security Groups/src/SecurityGroupImpl.Codeunit.al26 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

ValidateGroupId line 42

  1. 44callsIsWindowsAuthentication
  2. 45callsValidateWindowsGroup
  3. 47callsValidateEntraGroup

Create line 50

  1. 69callsIsWindowsAuthentication
  2. 70callsValidateWindowsGroup
  3. 76writesTable 2000000120 User Insert
  4. 80callsValidateEntraGroup
  5. 81callsTryGetNameById
  6. 83raisesOnBeforeCreateAadGroupUserInSaaS
  7. 89writesTable 9020 Security Group Insert
  8. 91callsCodeunit 8703 Feature Telemetry LogUptake

Delete line 96

  1. 104writesTable 2000000053 Access Control DeleteAll
  2. 106writesTable 2000000120 User Delete
  3. 107writesTable 9020 Security Group Delete(true)

Copy line 111

  1. 113callsCreate
  2. 114callsCopyPermissions

CopyPermissions line 117

  1. 123callsGetGroupUserSecurityId
  2. 124callsGetGroupUserSecurityId
  3. 130writesTable 2000000053 Access Control Insert

AddPermissionSet line 135

  1. 148writesTable 2000000053 Access Control Insert

RemovePermissionSet line 152

  1. 160writesTable 2000000053 Access Control Delete

GetAvailableGroups line 201

  1. 218writesTable 9022 Security Group Buffer DeleteAll
  2. 220callsIsWindowsAuthentication
  3. 225callsGetDisallowedWindowsGroupIds
  4. 228writesTable 9022 Security Group Buffer Insert
  5. 232callsFetchAllEntraGroups
  6. 233callsRemoveOrphanedEntraGroups
  7. 241writesTable 9022 Security Group Buffer Insert

GetGroups line 249

  1. 256writesTable 9022 Security Group Buffer DeleteAll
  2. 258callsIsWindowsAuthentication
  3. 268callsIsWindowsAuthentication
  4. 274callsGetName
  5. 276writesTable 9022 Security Group Buffer Insert

GetMembers line 282

  1. 291writesTable 9021 Security Group Member Buffer DeleteAll
  2. 293callsIsWindowsAuthentication
  3. 302callsIsWindowsAuthentication
  4. 303callsTryGetWindowsGroupMembers
  5. 306callsTryGetEntraGroupMembers
  6. 312callsCodeunit 8703 Feature Telemetry LogUptake
  7. 313callsCodeunit 8703 Feature Telemetry LogUsage

GetName line 319

  1. 321callsTryGetName

TryGetName line 327, local

  1. 329callsTryGetNameById
  2. 329callsGetId

TryGetNameById line 333

  1. 338callsIsWindowsAuthentication
  2. 346callsCodeunit 9012 Azure AD Graph GetGroupName

GetId line 357

  1. 361callsIsWindowsAuthentication

GetCode line 372

  1. 378callsIsWindowsAuthentication

GetIdByName line 397

  1. 401callsTryGetIdByName

TryGetIdByName line 408

  1. 410callsIsWindowsAuthentication
  2. 414callsCodeunit 9012 Azure AD Graph GetFirstGroupIdWithName

TryGetEntraGroupMembers line 420, local

  1. 426callsCodeunit 9012 Azure AD Graph GetMemberIdsPageForGroupId
  2. 437callsGetName
  3. 438writesTable 9021 Security Group Member Buffer Insert

ValidateWindowsGroup line 444, local

  1. 460callsGetDisallowedWindowsGroupIds

ValidateEntraGroup line 478, local

  1. 483callsTryGetNameById
  2. 486callsRemoveOrphanedEntraGroups

FetchAllEntraGroups line 492, local

  1. 498callsCodeunit 9012 Azure AD Graph GetGroups

IsWindowsAuthentication line 502

  1. 508raisesOnIsWindowsAuthentication

TryGetWindowsGroupMembers line 515, local

  1. 529writesTable 9021 Security Group Member Buffer Insert

SendNotificationForDeletedGroups line 534

  1. 554callsIsWindowsAuthentication
  2. 559callsIsWindowsAuthentication

GetDesirableCode line 569

  1. 573callsIsWindowsAuthentication

RemoveOrphanedEntraGroups line 588, local

  1. 609writesTable 2000000120 User Delete(true)