Method ScopesOf
- Namespace
- MailFathom.Application.Access
- Assembly
- MailFathom.Application.dll
ScopesOf(MailFathomPermission)
Reports the scopes the caller holds one capability at, which is what a listing answers within.
public IReadOnlySet<AssignmentScope> ScopesOf(MailFathomPermission permission)
Parameters
permissionMailFathomPermissionThe capability the listing is published under.
Returns
- IReadOnlySet<AssignmentScope>
The scopes, empty for a caller that does not hold it and for every principal that is not a caller.
Remarks
A listing never refuses over a scope: it answers with what the scopes cover, so a caller holding the permission over one organization lists that organization's people and nobody else's.