Interface IUser
public interface IUser
Properties
DirectoryId
The user's id in the external directory (for Microsoft Entra ID: the 'oid' claim / Graph object id). Defaults to null. Captured automatically for new users and backfilled for existing users on their next resolve; used by IUserDirectoryService to verify and delete the directory user.
string DirectoryId { get; }
Property Value
string EMail { get; }
Property Value
Icon
Reference to the user's uploaded icon (from IIconStore), or null. When set, it takes precedence over Gravatar in avatar resolution. Opt-in: declare the property on the user entity to persist it (the same shape-based opt-in as DirectoryId / LastSeen).
string Icon { get; }
Property Value
Identity
string Identity { get; }
Property Value
Key
string Key { get; }
Property Value
LastSeen
When the user last made an authenticated request. Defaults to null. Stamped by the user service at most once per configured interval (see LastSeenStampInterval), so the value is approximate within that interval. Distinct from the per-team-member LastSeen, which tracks team selection.
DateTime? LastSeen { get; }
Property Value
Name
Display name for the user. Defaults to null. Consumers should populate this from the 'name' claim in CreateUserEntityAsync. Used for default team names and member display names.
string Name { get; }