Interface IMemberInfoProvider
Namespace: Unity.Cloud.Identity
Assembly: Unity.Cloud.Identity.dll
Syntax
public interface IMemberInfoProvider
Methods
GetMemberAsync(UserId)
An awaitable Task that returns a IMemberInfo.
Declaration
Task<IMemberInfo> GetMemberAsync(UserId userId)
Parameters
Type | Name | Description |
---|---|---|
UserId | userId | The Unity.Cloud.Common.UserId of the member of the IOrganization to get. |
Returns
Type | Description |
---|---|
Task<IMemberInfo> | A task whose result is a IMemberInfo. |
Exceptions
Type | Condition |
---|---|
NotFoundException |
ListMembersAsync(Range, CancellationToken)
An awaitable Task that returns the list of IMemberInfo.
Declaration
IAsyncEnumerable<IMemberInfo> ListMembersAsync(Range range, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Range | range | A range of IMemberInfo to request. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
IAsyncEnumerable<IMemberInfo> | A task whose result is an async enumeration of IMemberInfo. |