Table of Contents

Method EntriesGranting

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

EntriesGranting(MailFathomPermission)

Lists every entry a role can be stored with that grants one permission: its name, and each pattern reaching it.

public static IReadOnlyList<string> EntriesGranting(MailFathomPermission permission)

Parameters

permission MailFathomPermission

The permission.

Returns

IReadOnlyList<string>

The entries, the name first.

Remarks

What a store compares a stored entry against to find the roles giving one name, a pattern counting as holding what it reaches.

Exceptions

ArgumentException

Thrown when permission is the unspecified struct default.