{"title":"Codeunit 132927 MockGraphQuery Test Library, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/132927-mockgraphquery-test-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":132927,"name":"MockGraphQuery Test Library","app":"System Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/132927-mockgraphquery-test-library/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/132927-mockgraphquery-test-library/source/","path":"src/System Application/Test Library/MockGraphQuery/src/MockGraphQueryTestLibrary.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:2000000121":{"name":"User Property","url":"https://jonas-paprotka.de/ref/table/2000000121-user-property/"},"table:2000000120":{"name":"User","url":"https://jonas-paprotka.de/ref/table/2000000120-user/"}},"procs":[{"name":"CreateAzureADUser","line":27,"kind":"procedure","params":10,"steps":[[29,"call","CreateUserProperty",2],[31,"call","CreateUserInfo",9]]},{"name":"CreateUserProperty","line":42,"kind":"procedure","access":"local","params":2,"steps":[[51,"write",2000000121,"Insert"]]},{"name":"InsertUser","line":68,"kind":"procedure","params":7,"steps":[[83,"write",2000000120,"Insert"]]},{"name":"SetCurrentUser","line":86,"kind":"procedure","params":2,"steps":[[90,"call","CreateGraphUser",5]]},{"name":"AddGraphUser","line":99,"kind":"procedure","params":5,"steps":[[103,"call","CreateGraphUser",6]]},{"name":"AddAndReturnGraphUser","line":107,"kind":"procedure","params":5,"steps":[[109,"call","CreateGraphUser",5]]},{"name":"AddDirectoryRole","line":127,"kind":"procedure","params":5,"steps":[[129,"call","CreateDirectoryRole",5]]},{"name":"AddUserRole","line":133,"kind":"procedure","params":5,"steps":[[138,"call","CreateDirectoryRole",5]]},{"name":"AddSubscribedSkuWithServicePlan","line":144,"kind":"procedure","params":3,"steps":[[160,"call","AddDirectorySubscribedSku",1]]},{"name":"PopulateMockGraph","line":173,"kind":"procedure","params":3,"steps":[[179,"call","AddUserPlan",4]]},{"name":"AddGraphUser","line":201,"kind":"procedure","params":8,"steps":[[203,"call","CreateGraphUser",5],[205,"call","AddUserPlan",4]]},{"name":"AddGraphUserWithoutPlan","line":225,"kind":"procedure","params":4,"steps":[[229,"call","CreateGraphUser",5]]},{"name":"AddGraphUserWithInDevicesGroup","line":233,"kind":"procedure","params":4,"steps":[[238,"call","CreateGraphUser",5],[240,"call","GetDevicesGroupName",0]]},{"name":"AddGraphUserToDevicesGroup","line":245,"kind":"procedure","params":1,"steps":[[247,"call","AddGraphUserToGroup",2],[247,"call","GetDevicesGroupName",0]]}]}