Table of Contents

Method MailAccount

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

MailAccount(Guid?, IReadOnlyCollection<UserId>)

Places a mail account.

public static AdministrativeTarget MailAccount(Guid? organization, IReadOnlyCollection<UserId> assignedUsers)

Parameters

organization Guid?

The organization the account belongs to, or null for none.

assignedUsers IReadOnlyCollection<UserId>

Every user the account is assigned to.

Returns

AdministrativeTarget

The target, which is one user's alone only where it belongs to an organization and exactly one user is assigned.

Exceptions

ArgumentNullException

Thrown when assignedUsers is null.