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
permissionMailFathomPermissionThe capability being asked about.
targetAdministrativeTargetWhere the thing the operation names sits.
Returns
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
targetis null.