{"title":"Codeunit 130017 User Permissions Library, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/130017-user-permissions-library/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":130017,"name":"User Permissions Library","app":"System Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/130017-user-permissions-library/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/130017-user-permissions-library/source/","path":"src/System Application/Test Library/User Permissions/src/UserPermissionsLibrary.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:2000000053":{"name":"Access Control","url":"https://jonas-paprotka.de/ref/table/2000000053-access-control/"},"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"table:2000000120":{"name":"User","url":"https://jonas-paprotka.de/ref/table/2000000120-user/"}},"procs":[{"name":"CreateSuperUser","line":23,"kind":"procedure","params":1,"steps":[[29,"call","CreateUser",2],[31,"call","AssignPermissionSetToUser",2]]},{"name":"AssignPermissionSetToUser","line":52,"kind":"procedure","params":3,"steps":[[67,"write",2000000053,"Insert",1]]},{"name":"CreateUser","line":70,"kind":"procedure","access":"local","params":2,"steps":[[78,"ext","codeunit",457,"IsSaaSInfrastructure",0],[80,"write",2000000120,"Insert",1]]}]}