Table of Contents

Method AtDeployment

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

AtDeployment(IEnumerable<MailFathomPermission>)

Builds a grant holding every one of some permissions over the whole deployment.

public static ScopedGrant AtDeployment(IEnumerable<MailFathomPermission> permissions)

Parameters

permissions IEnumerable<MailFathomPermission>

The permissions.

Returns

ScopedGrant

The grant.

Remarks

What a principal holds where nothing narrower than the deployment was ever written for it to be held at.

Exceptions

ArgumentNullException

Thrown when permissions is null.