Table of Contents

Constructor AccessAuthorization

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

AccessAuthorization(IAuthorizedPrincipalSource)

Initializes the authorization over the principal of the unit of work in hand, placing no target.

public AccessAuthorization(IAuthorizedPrincipalSource principals)

Parameters

principals IAuthorizedPrincipalSource

Reports whoever the work is running for.

Remarks

Every target is then Unplaced, so an administrative permission reaches a named target only where it is held over the whole deployment. That is the answer for work that reaches no administrative target at all, and the narrowest one for work that does.

Exceptions

ArgumentNullException

Thrown when principals is null.

AccessAuthorization(IAuthorizedPrincipalSource, IAdministrativeTargets)

Initializes the authorization over the principal of the unit of work in hand, placing what an operation names.

public AccessAuthorization(IAuthorizedPrincipalSource principals, IAdministrativeTargets targets)

Parameters

principals IAuthorizedPrincipalSource

Reports whoever the work is running for.

targets IAdministrativeTargets

Places a named user or mail account in the deployment, for an operation that names one.

Exceptions

ArgumentNullException

Thrown when principals or targets is null.