Table of Contents

Constructor UserEndpointAccess

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

UserEndpointAccess(bool, bool)

Which of the two mail-serving endpoints one user may be served on.

public UserEndpointAccess(bool McpEndpoint, bool ClientEndpoint)

Parameters

McpEndpoint bool

Whether a credential of this user is admitted on the MCP endpoint.

ClientEndpoint bool

Whether a credential or a session of this user is admitted on the client endpoint.

Remarks

The switches are the user's rather than a credential's, which is the whole of the decision: a person kept off a surface is refused there whichever credential they present, so no credential can be provisioned around it. What a credential admitted on a surface may then do is still its grant, and neither switch widens that.

A user is recorded reaching both, which is Everywhere. The struct default reaches neither, so a value something forgot to read refuses rather than admits.