Codeunit 9002 Permission Manager

Base Application, System.Security.AccessControl

src/Layers/W1/BaseApp/Modules/System/PermissionSets/PermissionManager.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AssignDefaultPermissionsToUser line 39

  1. 46callsIsIntelligentCloud
  2. 47callsAddPermissionSetToUser
  3. 61callsCodeunit 9825 Plan Configuration IsCustomized
  4. 62callsCodeunit 8703 Feature Telemetry LogUptake
  5. 63callsCodeunit 9825 Plan Configuration AssignCustomPermissionsToUser
  6. 66callsCodeunit 9825 Plan Configuration AssignDefaultPermissionsToUser

ResetUserToDefaultPermissions line 71

  1. 74callsRemoveAllPermissionSetsFromUser
  2. 77callsAssignDefaultPermissionsToUser

RemoveAllPermissionSetsFromUser line 80, local

  1. 85writesTable 2000000053 Access Control DeleteAll(true)

UpdateUserAccessForSaaS line 93

  1. 95callsAllowUpdateUserAccessForSaaS
  2. 98callsAssignDefaultPermissionsToUser
  3. 99callsAssignDefaultRoleCenterToUser

AllowUpdateUserAccessForSaaS line 104, local

  1. 110callsCodeunit 457 Environment Information IsSaaS

AssignDefaultRoleCenterToUser line 141, local

  1. 158callsFilterProfileToBusinessManager
  2. 172validatesTable 2000000073 User Personalization User SID
  3. 173validatesTable 2000000073 User Personalization Profile ID
  4. 174validatesTable 2000000073 User Personalization App ID
  5. 175validatesTable 2000000073 User Personalization Scope
  6. 176writesTable 2000000073 User Personalization Insert

GenerateHashForPermissionSet line 187

  1. 202callsGetCharRepresentationOfPermission
  2. 203callsGetCharRepresentationOfPermission
  3. 204callsGetCharRepresentationOfPermission
  4. 205callsGetCharRepresentationOfPermission
  5. 207callsGetCharRepresentationOfPermission
  6. 211callsCodeunit 1266 Cryptography Management GenerateHash

ResetUsersToIntelligentCloudPermissions line 247

  1. 255callsCodeunit 457 Environment Information IsSaaS
  2. 262callsCodeunit 9843 User Selection FilterSystemUserAndAADGroupUsers
  3. 270callsCodeunit 152 User Permissions IsSuper
  4. 274callsRemoveExistingPermissionsAndAddIntelligentCloud

RemoveExistingPermissionsAndAddIntelligentCloud line 292, local

  1. 302writesTable 2000000053 Access Control DeleteAll(true)
  2. 304callsAddPermissionSetToUser

AddPermissionSetToUser line 312, local

  1. 327writesTable 2000000053 Access Control Insert(true)

OnBeforeDeleteTenantPermissionSet line 331, local

  1. 339writesTable 9802 Permission Set Link DeleteAll

CheckCurrentUserCanModifyUser line 343

  1. 361callsCodeunit 152 User Permissions CanManageUsersOnTenant