Table of Contents

Method ReadGroupMembersAsync

Namespace
MailFathom.Application.Access.Grants
Assembly
MailFathom.Application.dll

ReadGroupMembersAsync(Guid, AdministrativeListingQuery, CancellationToken)

Reads one page of the members of one group the caller's scope covers.

public Task<AdministrativeListingPage<UserId>?> ReadGroupMembersAsync(Guid groupId, AdministrativeListingQuery query, CancellationToken cancellationToken)

Parameters

groupId Guid

The group.

query AdministrativeListingQuery

The page asked for.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<AdministrativeListingPage<UserId>>

The page in user identifier order, or null where no such group exists within the caller's scope.

Exceptions

ArgumentNullException

Thrown when query is null.

PrincipalNotAuthorizedException

Thrown when the caller holds AdminRead at no scope.