Method FindPortraitAsync
- Namespace
- MailFathom.Application.StoredFiles
- Assembly
- MailFathom.Application.dll
FindPortraitAsync(UserId, CancellationToken)
Reads the file one user's record links as their portrait.
Task<StoredFileId?> FindPortraitAsync(UserId user, CancellationToken cancellationToken)
Parameters
userUserIdThe user whose record is read.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<StoredFileId?>
The portrait's file, or null when the record links none or this deployment holds no such user.