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