Source AL, 318 lines
src/System Application/Test Library/MockGraphQuery/src/MockGraphQueryTestLibrary.Codeunit.allines 11 to 26 of 318, Copyright (c) Microsoft Corporation. MIT
codeunit 132927 "MockGraphQuery Test Library"{ var MockGraphQuery: DotNet MockGraphQuery; UserNameTxt: Label '%1 %2', Comment = '%1 - first name, %2 - last name'; procedure GetMockGraphQuery(MockGraphQueryOut: DotNet MockGraphQuery) begin MockGraphQueryOut := MockGraphQuery; end; procedure SetupMockGraphQuery() begin MockGraphQuery := MockGraphQuery.MockGraphQuery(); end;
All 318 lines
Public procedures 31 in 29
| GetMockGraphQuery(MockGraphQueryOut: DotNet MockGraphQuery) | new in 21 |
| SetupMockGraphQuery() | new in 21 |
| CreateAzureADUser(var UserInfo: DotNet UserInfo; UserSecurityId: Guid; ObjectId: Text; Surname: Text; DisplayName: Text; Email: Text; PrincipalName: Text; GivenName: Text; PreferredLanguage: Text; AccountEnabled: Boolean) | new in 21 |
| SetCurrentUser(UserInfo: DotNet UserInfo) | new in 21 |
| CreateUserInfo(var UserInfo: DotNet UserInfo; ObjectId: Text; Surname: Text; DisplayName: Text; Email: Text; PrincipalName: Text; GivenName: Text; PreferredLanguage: Text; AccountEnabled: Boolean) | new in 21 |
| InsertUser(var User: Record User; UserSecurityId: Guid; Enabled: Boolean; FullName: Text; ContactEmail: Text; AuthenticationEmail: Text; UserName: Text) | new in 21 |
All 31 procedures
Changes 2 in 22
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | 2 | | | | | | | |
|---|
| AddGraphUserToGroup(GraphUser: DotNet UserInfo; GroupName: Text; GroupId: Text) | new in 22 |
| added |
| AddGroup(GroupName: Text; GroupId: Text) | new in 22 |
| added |
All 2 changes in 21-29