feat(13-01): extend GraphDirectoryUser with UserType and add includeGuests parameter to directory service

- Add string? UserType as last positional parameter to GraphDirectoryUser record
- Add bool includeGuests = false parameter to IGraphUserDirectoryService.GetUsersAsync
- Branch Graph filter: members-only (default) vs all users when includeGuests=true
- Add userType to Graph Select array for MapUser population
- Update MapUser to include UserType from Graph User object
- Add MapUser_PopulatesUserType and MapUser_NullUserType tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dev
2026-04-08 16:01:46 +02:00
parent 0baa3695fe
commit 9a98371edd
4 changed files with 58 additions and 7 deletions

View File

@@ -9,4 +9,5 @@ public record GraphDirectoryUser(
string UserPrincipalName,
string? Mail,
string? Department,
string? JobTitle);
string? JobTitle,
string? UserType);