Table of Contents

Method FindPortraitAsync

Namespace
MailFathom.Application.StoredFiles
Assembly
MailFathom.Application.dll

Reads the file one user's record links as their portrait.

Task<StoredFileId?> FindPortraitAsync(UserId user, CancellationToken cancellationToken)

Parameters

user UserId

The user whose record is read.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<StoredFileId?>

The portrait's file, or null when the record links none or this deployment holds no such user.