Table of Contents

Method HoldsOver

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

HoldsOver(MailFathomPermission, AdministrativeTarget)

Reports whether this principal was granted one named capability over one target.

public bool HoldsOver(MailFathomPermission permission, AdministrativeTarget target)

Parameters

permission MailFathomPermission

The capability being asked about.

target AdministrativeTarget

Where the thing the operation names sits in the deployment.

Returns

bool

true when the principal holds it at a scope covering the target.

Remarks

A mail permission never reads its scope, so it is answered exactly as Holds(MailFathomPermission) answers it whatever the target.

Exceptions

ArgumentNullException

Thrown when target is null.