Table of Contents

Method Covers

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

Covers(MailFathomPermission, AdministrativeTarget)

Reports whether one permission is held at a scope covering a target.

public bool Covers(MailFathomPermission permission, AdministrativeTarget target)

Parameters

permission MailFathomPermission

The permission.

target AdministrativeTarget

Where the thing the operation names sits in the deployment.

Returns

bool

true when any scope the permission is held at covers the target.

Exceptions

ArgumentNullException

Thrown when target is null.