Table of Contents

Property User

Namespace
MailFathom.Application.Access
Assembly
MailFathom.Application.dll

User

Gets the user this work is acting for, or null where it acts for nobody's mail.

public UserId? User { get; }

Property Value

UserId?

Remarks

Absence is a state rather than a gap. This process's own identity acts for no user because work no caller requested is not being done on anybody's behalf, and the deployment administrator acts for none because the acts it reaches are the deployment's rather than one user's. Both are refused by a use case that reads or writes one user's mail, which is what stops "acting for nobody" from being read as "acting for everybody" — and a use case over a record that belongs to a user without being mail resolves the absence rather than reading it as everybody, which is a different act and is stated where it happens.

Nothing derives it from the permissions and nothing derives the permissions from it. It is stated by whatever admitted the work — the transport for a caller, the redeemed ticket for a capability — so a use case reads it rather than resolving it, and two use cases in one unit of work cannot come to disagree about whose mail they are reading.