Table of Contents

Method PermitsOver

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

PermitsOver(MailFathomPermission, AdministrativeTarget)

Answers whether the caller holds one named capability over a target the operation placed itself.

public bool PermitsOver(MailFathomPermission permission, AdministrativeTarget target)

Parameters

permission MailFathomPermission

The capability being asked about.

target AdministrativeTarget

Where the thing the operation names sits.

Returns

bool

true when an admitted caller holds the capability at a scope covering the target.

Remarks

For an operation that has already read the record it acts on, so placing it again would be a second read of the same rows.

Exceptions

ArgumentNullException

Thrown when target is null.