- 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>
14 lines
445 B
C#
14 lines
445 B
C#
namespace SharepointToolbox.Core.Models;
|
|
|
|
/// <summary>
|
|
/// Represents a directory user returned by <see cref="SharepointToolbox.Services.IGraphUserDirectoryService"/>.
|
|
/// Used by Phase 13's User Directory ViewModel to display and filter tenant members.
|
|
/// </summary>
|
|
public record GraphDirectoryUser(
|
|
string DisplayName,
|
|
string UserPrincipalName,
|
|
string? Mail,
|
|
string? Department,
|
|
string? JobTitle,
|
|
string? UserType);
|